CodeceptJS v3.3.4 Release Notes
-
- โ Added support for masking fields in objects via
secret
function:
I.sendPostRequest('/auth', secret({ name: 'jon', password: '123456' }, 'password'));
- โ Added a guide about using of
secret
function - ๐ [Appium] Use
touchClick
when interacting with elements in iOS. See #3317 by @mikk150 - ๐ [Playwright] Added
cdpConnection
option to connect over CDP. See #3309 by @Hmihaly - ๐ [customLocator plugin] Allowed to specify multiple attributes for custom locator. Thanks to @aruiz-caritsqa
plugins: { customLocator: { enabled: true, prefix: '$', attribute: ['data-qa', 'data-test'], } }
- ๐ [retryTo plugin] Fixed #3147 using
pollInterval
option. See #3351 by @cyonkee - ๐ป [Playwright] Fixed grabbing of browser console messages and window resize in new tab. Thanks to @mirao
- ๐จ [REST] Added
prettyPrintJson
option to print JSON in nice way by @PeterNgTr - โก๏ธ [JSONResponse] Updated response validation to iterate over array items if response is array. Thanks to @PeterNgTr
// response.data == [ // { user: { name: 'jon', email: '[email protected]' } }, // { user: { name: 'matt', email: '[email protected]' } }, //] I.seeResponseContainsKeys(['user']); I.seeResponseContainsJson({ user: { email: '[email protected]' } }); I.seeResponseContainsJson({ user: { email: '[email protected]' } }); I.dontSeeResponseContainsJson({ user: 2 });
- โ Added support for masking fields in objects via