You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
## 2.6.1
2
+
3
+
*[screenshotOnFail plugin] Fixed saving screenshot of active session.
4
+
*[screenshotOnFail plugin] Fix issue #2301 when having the flag `uniqueScreenshotNames`=true results in `undefined` in screenshot file name by @PeterNgTr
5
+
*[WebDriver] Fixed `waitForElement` not applying the optional second argument to override the default timeout in webdriverio 6. Fix by @Mooksc
6
+
*[WebDriver] Updated `waitUntil` method which is used by all of the wait* functions. This updates the `waitForElement` by the same convention used to update `waitForVisible` and `waitInUrl` to be compatible with both WebDriverIO v5 & v6. See #2313 by @Mooksc
7
+
1
8
## 2.6.0
2
9
3
10
***[Playwright] Updated to Playwright 0.12** by @Georgegriff.
@@ -20,6 +27,7 @@ I.executeScript(({x, y}) => x + y, {x, y});
20
27
*`click` - automatically waits for element to become clickable (visible, not animated) and waits for navigation.
***Fixed parallel execution of `run-workers` for Gherkin** scenarios by **[koushikmohan1996](https://github.com/koushikmohan1996)**
53
+
***[MockRequest]** Updated and **moved to [standalone package](https://github.com/codecept-js/mock-request)**:
54
+
* full support for record/replay mode for Puppeteer
55
+
* added `mockServer` method to use flexible PollyJS API to define mocks
56
+
* fixed stale browser screen in record mode.
57
+
***[Playwright]** Added support on for `screenshotOnFail` plugin by **[amonkc](https://github.com/amonkc)**
58
+
* Gherkin improvement: setting different tags per examples. See [#2208](https://github.com/Codeception/CodeceptJS/issues/2208) by **[acuper](https://github.com/acuper)**
59
+
***[TestCafe]** Updated `click` to take first visible element. Fixes [#2226](https://github.com/Codeception/CodeceptJS/issues/2226) by **[theTainted](https://github.com/theTainted)**
60
+
*[Puppeteer][WebDriver] Updated `waitForClickable` method to check for element overlapping. See [#2261](https://github.com/Codeception/CodeceptJS/issues/2261) by **[PiQx](https://github.com/PiQx)**
61
+
***[Puppeteer]** Dropped `puppeteer-firefox` support, as Puppeteer supports Firefox natively.
62
+
***[REST]** Rrespect Content-Type header. See [#2262](https://github.com/Codeception/CodeceptJS/issues/2262) by **[pmarshall-legacy](https://github.com/pmarshall-legacy)**
63
+
*[allure plugin] Fixes BeforeSuite failures in allure reports. See [#2248](https://github.com/Codeception/CodeceptJS/issues/2248) by **[Georgegriff](https://github.com/Georgegriff)**
64
+
*[WebDriver][Puppeteer][Playwright] A screenshot of for an active session is saved in multi-session mode. See [#2253](https://github.com/Codeception/CodeceptJS/issues/2253) by **[ChexWarrior](https://github.com/ChexWarrior)**
65
+
* Fixed `--profile` option by **[pablopaul](https://github.com/pablopaul)**. Profile value to be passed into `run-multiple` and `run-workers`:
66
+
67
+
```
68
+
npx codecept run-workers 2 --profile firefox
69
+
```
70
+
71
+
Value is available at `process.env.profile` (previously `process.profile`). See [#2302](https://github.com/Codeception/CodeceptJS/issues/2302). Fixes [#1968](https://github.com/Codeception/CodeceptJS/issues/1968)[#1315](https://github.com/Codeception/CodeceptJS/issues/1315)
72
+
73
+
*[commentStep Plugin introduced](/plugins#commentstep). Allows to annotate logical parts of a test:
0 commit comments