From ec40b1eb9a31d5ba01c9902afe2fb8684158656d Mon Sep 17 00:00:00 2001 From: kobenguyent <7845001+kobenguyent@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:49:33 +0100 Subject: [PATCH] release 3.6.8 (#4631) --- CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 4 ++-- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6def637d..7c769257c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,53 @@ +## 3.6.8 + +❤ī¸ Thanks all to those who contributed to make this release! ❤ī¸ + +🛩ī¸ *Features* +* feat(cli): mask sensitive data in logs (#4630) - by @kobenguyent +``` +export const config: CodeceptJS.MainConfig = { + tests: '**/*.e2e.test.ts', + retry: 4, + output: './output', + maskSensitiveData: true, + emptyOutputFolder: true, +... + + I login {"username":"helloworld@test.com","password": "****"} + I send post request "https://localhost:8000/login", {"username":"helloworld@test.com","password": "****"} + â€ē [Request] {"baseURL":"https://localhost:8000/login","method":"POST","data":{"username":"helloworld@test.com","password": "****"},"headers":{}} + â€ē [Response] {"access-token": "****"} +``` + +* feat(REST): DELETE request supports payload (#4493) - by @schaudhary111 + +```js +I.sendDeleteRequestWithPayload('/api/users/1', { author: 'john' }); +``` + +🐛 *Bug Fixes* +* fix(playwright): Different behavior of see* and waitFor* when used in within (#4557) - by @kobenguyent +* fix(cli): dry run returns no tests when using a regex grep (#4608) - by @kobenguyent +```bash +> codeceptjs dry-run --steps --grep "(?=.*Checkout process)" +``` +* fix: Replace deprecated faker.name with faker.person (#4581) - by @thomashohn +* fix(wdio): Remove dependency to devtools (#4563) - by @thomashohn +* fix(typings): wrong defineParameterType (#4548) - by @kobenguyent +* fix(typing): `Locator.build` complains the empty locator (#4543) - by @kobenguyent +* fix: add hint to `I.seeEmailAttachment` treats parameter as regular expression (#4629) - by @ngraf +``` +Add hint to "I.seeEmailAttachment" that under the hood parameter is treated as RegExp. +When you don't know it, it can cause a lot of pain, wondering why your test fails with I.seeEmailAttachment('Attachment(1).pdf') although it looks just fine, but actually I.seeEmailAttachment('Attachment\\(1\\).pdf is required to make the test green, in case the attachment is called "Attachment(1).pdf" with special character in it. +``` +* fix(playwright): waitForText fails when text contains double quotes (#4528) - by @DavertMik +* fix(mock-server-helper): move to stand-alone package: https://www.npmjs.com/package/@codeceptjs/mock-server-helper (#4536) - by @kobenguyent +* fix(appium): issue with async on runOnIos and runOnAndroid (#4525) - by @kobenguyent +* fix: push ws messages to array (#4513) - by @kobenguyent + +📖 *Documentation* +* fix(docs): typo in ai.md (#4501) - by @tomaculum + ## 3.6.6 ❤ī¸ Thanks all to those who contributed to make this release! ❤ī¸ diff --git a/package.json b/package.json index 5304c95c4..b26bbefd8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeceptjs", - "version": "3.6.7", + "version": "3.6.8", "description": "Supercharged End 2 End Testing Framework for NodeJS", "keywords": [ "acceptance", @@ -184,4 +184,4 @@ "strict": false } } -} +} \ No newline at end of file