Exporting as Jest Project (CI-friendly)
Last updated
Was this helpful?
Last updated
Was this helpful?
Project suites can be exported as and be ran in command line by, for example, Continuous Integration server.
Press Ctrl+Shift-E (⌘⇧E) or click on File/Export Project as... menu item:
Export Project modal window shows up.
After exporting we can jump to the given export directory and install npm dependencies:
then we run the tests:
We are expected to get output like that:
It will load the generated test report in Allure browser
You can change the configuration set while exporting in puppeteer.config.json
incognito
- when true the test will run in incognito window
It is quite similar to window. Similarly we can choose a target environment (see also ) and set up Browser options. What it's new we have to specify the destination folder for the exported project.
If you have installed on your system you can also run
puppeteer.launch
- options to pass to
puppeteer.connect
- options to pass to