Puppetry
2.0.0
2.0.0
  • Welcome Puppetry
  • Getting Started
  • Project
  • Suite
  • Group
  • Target
  • Test Case
  • Test Step
    • Page Commands
    • Page Assertions
    • Target Commands
    • Target Assertions
  • Managing Assets
  • Snippets
  • Running tests
    • Troubleshooting
  • Exporting Tests for CI
  • Template Expressions
  • Version Control
  • Testing Transactional Emails
    • Example with Restmail.net
    • Example with Mailinator
    • Example with IMAP bridge
    • Example with Google API
  • Testing Forms with Captcha
  • Command API
  • Test Application
Powered by GitBook
On this page

Was this helpful?

Running tests

PreviousSnippetsNextTroubleshooting

Last updated 5 years ago

Was this helpful?

When we are ready with our test suite we can run the tests. Click on Run.. item in the main menu (or press F6).

You get Run reports modal window

By default Puppetry runs tests in headless mode, meaning it launches Chromium in background. You can make to run the tests in Chrome browser with Run in browser switch:

Finally we can select which suites we are going to run

After pressing Run button Puppetry opens panel Test report with test results. When test ran successfully we get a page like that:

If we click on Open directory with generated screenshots link we can see generated folder named after the test case where we can find the screenshot:

However if test failed the page look as follows:

If the error message doesn't clarify the failure enough, you can click on Error details link:

This opens an input for

The modal window also allows you to select a :

Chromium command line options
target environment
Run tests menu item
Run reports modal window
Chmonim options
Selecting target environment
Successful test run
Generated screenshot
Errored test run
Test run error details