codeceptjs
Advanced tools
Changelog
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
Changelog
3.3.4
secret
function:I.sendPostRequest('/auth', secret({ name: 'jon', password: '123456' }, 'password'));
secret
functiontouchClick
when interacting with elements in iOS. See #3317 by @mikk150cdpConnection
option to connect over CDP. See #3309 by @Hmihalyplugins: {
customLocator: {
enabled: true,
prefix: '$',
attribute: ['data-qa', 'data-test'],
}
}
pollInterval
option. See #3351 by @cyonkeeprettyPrintJson
option to print JSON in nice way by @PeterNgTr// response.data == [
// { user: { name: 'jon', email: 'jon@doe.com' } },
// { user: { name: 'matt', email: 'matt@doe.com' } },
//]
I.seeResponseContainsKeys(['user']);
I.seeResponseContainsJson({ user: { email: 'jon@doe.com' } });
I.seeResponseContainsJson({ user: { email: 'matt@doe.com' } });
I.dontSeeResponseContainsJson({ user: 2 });
Changelog
3.3.3
DataCloneError: () => could not be cloned
when running data tests in run-workersChangelog
3.3.2
haveRequestHeaders()
and amBearerAuthenticated()
. See #3304 by @mirao