codeceptjs
Advanced tools
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 @miraoChangelog
3.3.1
🛩️ Features:
step.*
for run-workers #3272. Thanks to @abhimanyupandiancodecept run
using glob patterns. By @jayudey-wfnpx codeceptjs run test-dir/*"
timeout
is changed to 5000ms. The value set in 3.3.0 was too low. Please set timeout
explicitly to not depend on release values. helpers: {
Playwright : {
url: "http://localhost",
colorScheme: "dark",
}
}
🐛 Bugfixes:
Cannot read property 'video' of undefined
📖 Documentation