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?

Exporting Tests for CI

PreviousTroubleshootingNextTemplate Expressions

Last updated 5 years ago

Was this helpful?

Project suites can be exported as and be ran in command line by, for example, Continuous Integration server.

As we press Ctrl+Shift-E (⌘⇧E) or click on File/Export Project for CI... menu item:

you get Export Project modal window:

After exporting we can jump to the given export directory and install npm dependencies:

npm install

then we run the tests:

npm test

We are expected to get output like that:

It is quite similar to window. So we can choose target test environment, which suites to include into Jest project and finally where to save the generated project.

Test Reports
Jest test project
Export Project modal window
Running Puppetry export in CLI