codeceptjs
Advanced tools
Changelog
3.3.7
🛩️ Features
restartBrowser
- to restart a browser (with different config)_createContextPage
- to create a new browser context with a page from a helpercheckIfAppIsInstalled
in #3507 by @PeterNgTr🐛 Bugfixes
TypeError: Cannot read properties of undefined (reading 'setStatus')
by @dwentland24 in #3438run-rerun
command after complete execution #3464 by @jain-neeerajwaitForTimeout
value on validation. See #3478 by @pmajewski24. Fixes #2589Element "{null: undefined}" was not found
and element ([object Object]) still not present
messages when using object locators. See #3501 and #3502 by @pmajewski24profile
env variable. See #3443 by @dwentland24. Resolves #3339amOnPage
to navigate to about:blank
by @zaxoavoki in #3470 Fixes #2311📖 Documentation
Changelog
3.3.6
run-rerun
command was re-introduced by @dwentland24 in #3436. Use it to perform run multiple times and detect flaky testsretryFailedStep
by default in @codeceptjs/configure
v 0.10. See https://github.com/codeceptjs/configure/pull/26secret
for form encoded string by @PeterNgTr:const secretData = secret('name=john&password=123456');
const response = await I.sendPostRequest('/user', secretData);
gpo
command to work with TypeScript by @PeterNgTr in #3411Changelog
3.3.5
🛩️ Features
Update codecept.conf.js
to get intellisense when writing config file:
/**@type {CodeceptJS.MainConfig}**/
exports.config = {
//...
}
codeceptjs init
to initialize new projects in TS (by @PeterNgTr and @davertmik)node-ts
automatically when using TypeScript setup.🐛 Bugfixes
secret
function by @PeterNgTr📖 Documentation