will you please tell me how parallel execution works on the jest-puppeteer framework? Below is the code that I had done already to achieve the parallel execution This is the jest.config.js file preset: "jest-puppeteer", testMatch: [ "/tests/paralleltest/**.test.js", ], This is the jest-puppeteer.config.js file module.exports = { launch: { headless: false, exitOnPageError: true, args: ['--no-sandbox','--disable-notifications','--start-maximized','--force-device-scale-factor=1.0'], defaultViewport: null,
},
browserContext: "incognito", }; This is the folder structure for parallel execution test/paralleltest/account.test.js,invite.test.js,action.test.js This is the script for parallel execution "parallel_testing":" jest ",
For a computer science student that had no idea how to work with puppeteer and front-end tests this video was great! Thanks a lot!
That Puppeteer Recorder is a game changer to port some functional testing into automation testing! Thank you!!!!
Great talk man. Thanks so much! Definitely using Puppeteer for our project :)
Amazing to see how easy it is to set this up!
will you please tell me how parallel execution works on the jest-puppeteer framework?
Below is the code that I had done already to achieve the parallel execution
This is the jest.config.js file
preset: "jest-puppeteer",
testMatch: [
"/tests/paralleltest/**.test.js",
],
This is the jest-puppeteer.config.js file
module.exports = {
launch: {
headless: false,
exitOnPageError: true,
args: ['--no-sandbox','--disable-notifications','--start-maximized','--force-device-scale-factor=1.0'],
defaultViewport: null,
},
browserContext: "incognito",
};
This is the folder structure for parallel execution
test/paralleltest/account.test.js,invite.test.js,action.test.js
This is the script for parallel execution
"parallel_testing":" jest ",
Puppeteer Recorder is amazing
How do i make slides like these?
The search you did at the end showed a really bad result in Chinese, it's actually from a XXX website. lol.
DAVIS COUNTY A+
Use Puppeteer in the cloud: autombot.com