hmcts / et-xui-e2e-tests

Employment Tribunal XUI E2E Tests
0 stars 1 forks source link

Update dependency codeceptjs to v3.6.2 - autoclosed #353

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
codeceptjs (source) 3.6.2-beta.1 -> 3.6.2 age adoption passing confidence

Release Notes

Codeception/codeceptjs (codeceptjs) ### [`v3.6.2`](https://togithub.com/Codeception/codeceptjs/blob/HEAD/CHANGELOG.md#362) [Compare Source](https://togithub.com/Codeception/codeceptjs/compare/45f0705ff8c7818371bd7c7903004ebd4634c9d5...3.6.2) ❤️ Thanks all to those who contributed to make this release! ❤️ 🛩️ *Features* - feat(REST): support httpAgent conf ([#​4328](https://togithub.com/Codeception/codeceptjs/issues/4328)) - by [@​KobeNguyent](https://togithub.com/KobeNguyent) Support the httpAgent conf to create the TSL connection via REST helper { helpers: { REST: { endpoint: 'http://site.com/api', prettyPrintJson: true, httpAgent: { key: fs.readFileSync(__dirname + '/path/to/keyfile.key'), cert: fs.readFileSync(__dirname + '/path/to/certfile.cert'), rejectUnauthorized: false, keepAlive: true } } } } - feat(wd): screenshots for sessions ([#​4322](https://togithub.com/Codeception/codeceptjs/issues/4322)) - by [@​KobeNguyent](https://togithub.com/KobeNguyent) Currently only screenshot of the active session is saved, this PR aims to save the screenshot of every session for easy debugging Scenario('should save screenshot for sessions @​WebDriverIO @​Puppeteer @​Playwright', async ({ I }) => { await I.amOnPage('/form/bug1467'); await I.saveScreenshot('original.png'); await I.amOnPage('/'); await I.saveScreenshot('main_session.png'); session('john', async () => { await I.amOnPage('/form/bug1467'); event.dispatcher.emit(event.test.failed, this); }); const fileName = clearString('should save screenshot for active session @​WebDriverIO @​Puppeteer @​Playwright'); const [original, failed] = await I.getSHA256Digests([ `${output_dir}/original.png`, `${output_dir}/john_${fileName}.failed.png`, ]); // Assert that screenshots of same page in same session are equal await I.expectEqual(original, failed); // Assert that screenshots of sessions are created const [main_original, session_failed] = await I.getSHA256Digests([ `${output_dir}/main_session.png`, `${output_dir}/john_${fileName}.failed.png`, ]); await I.expectNotEqual(main_original, session_failed); }); ![Screenshot 2024-04-29 at 11 07 47](https://togithub.com/codeceptjs/CodeceptJS/assets/7845001/5dddf85a-ed77-474b-adfd-2f208d3c16a8) - feat: locate element with withClassAttr ([#​4321](https://togithub.com/Codeception/codeceptjs/issues/4321)) - by [@​KobeNguyent](https://togithub.com/KobeNguyent) Find an element with class attribute ```js // find div with class contains 'form' locate('div').withClassAttr('text'); ``` - fix(playwright): set the record video resolution ([#​4311](https://togithub.com/Codeception/codeceptjs/issues/4311)) - by [@​KobeNguyent](https://togithub.com/KobeNguyent) You could now set the recording video resolution url: siteUrl, windowSize: '300x500', show: false, restart: true, browser: 'chromium', trace: true, video: true, recordVideo: { size: { width: 400, height: 600, }, }, 🐛 *Bug Fixes* - fix: several issues of stepByStep report ([#​4331](https://togithub.com/Codeception/codeceptjs/issues/4331)) - by [@​KobeNguyent](https://togithub.com/KobeNguyent) 📖 *Documentation* - fix: wrong format docs ([#​4330](https://togithub.com/Codeception/codeceptjs/issues/4330)) - by [@​KobeNguyent](https://togithub.com/KobeNguyent) - fix(docs): wrong method is mentioned ([#​4320](https://togithub.com/Codeception/codeceptjs/issues/4320)) - by [@​KobeNguyent](https://togithub.com/KobeNguyent) - fix: ChatGPT docs - by [@​davert](https://togithub.com/davert) ### [`v3.6.2-beta.2`](https://togithub.com/Codeception/codeceptjs/compare/f1a0e386416d4416e1d931bc97d23f377fa20edb...45f0705ff8c7818371bd7c7903004ebd4634c9d5) [Compare Source](https://togithub.com/Codeception/codeceptjs/compare/f1a0e386416d4416e1d931bc97d23f377fa20edb...45f0705ff8c7818371bd7c7903004ebd4634c9d5)

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.