CodeceptJS v3.0.0 Release Notes
-
⬆️ > 👌 LEARN HOW TO UPGRADE TO CODECEPTJS 3 ➡
- 0️⃣ Playwright set to be a default engine.
- NodeJS 12+ required
- 💥 BREAKING CHANGE: Syntax for tests has changed.
// Previous Scenario('title', (I, loginPage) => {}); // Current Scenario('title', ({ I, loginPage }) => {});
- 💥 BREAKING Replaced bootstrap/teardown scripts to accept only functions or async functions. Async function with callback (with done parameter) should be replaced with async/await. See our upgrade guide.
- TypeScript guide and boilerplate project
- 0️⃣ tryTo and pauseOnFail plugins installed by default
- Introduced one-line installer:
npx create-codeceptjs .
Read changelog to learn more about version 👇