codeceptjs 2.6.10 → 2.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/docs/basics.md +2 -1
- package/docs/bdd.md +1 -2
- package/docs/build/Appium.js +1 -2
- package/docs/build/FileSystem.js +3 -3
- package/docs/build/Mochawesome.js +1 -1
- package/docs/build/Nightmare.js +5 -5
- package/docs/build/Playwright.js +40 -14
- package/docs/build/Protractor.js +2 -2
- package/docs/build/WebDriver.js +18 -6
- package/docs/changelog.md +134 -127
- package/docs/community-helpers.md +1 -1
- package/docs/helpers/Playwright.md +1 -1
- package/docs/translation.md +20 -0
- package/docs/wiki/{Community-Helpers.md → Community-Helpers-&-Plugins.md} +1 -1
- package/docs/wiki/Home.md +8 -4
- package/docs/wiki/Tests.md +64 -61
- package/lib/actor.js +1 -1
- package/lib/assert/empty.js +1 -1
- package/lib/assert/equal.js +1 -1
- package/lib/assert/include.js +1 -1
- package/lib/assert/truth.js +1 -1
- package/lib/codecept.js +2 -3
- package/lib/command/configMigrate.js +3 -5
- package/lib/command/definitions.js +1 -2
- package/lib/command/dryRun.js +1 -2
- package/lib/command/gherkin/init.js +1 -1
- package/lib/command/gherkin/snippets.js +3 -3
- package/lib/command/gherkin/steps.js +2 -3
- package/lib/command/info.js +1 -2
- package/lib/command/init.js +1 -1
- package/lib/command/interactive.js +1 -2
- package/lib/command/list.js +3 -4
- package/lib/command/run-multiple.js +2 -3
- package/lib/command/run-rerun.js +2 -4
- package/lib/command/run.js +1 -2
- package/lib/container.js +1 -1
- package/lib/data/context.js +1 -1
- package/lib/event.js +1 -1
- package/lib/helper/Appium.js +1 -2
- package/lib/helper/FileSystem.js +3 -3
- package/lib/helper/Mochawesome.js +1 -1
- package/lib/helper/Nightmare.js +5 -5
- package/lib/helper/Playwright.js +40 -14
- package/lib/helper/Protractor.js +2 -2
- package/lib/helper/WebDriver.js +18 -6
- package/lib/helper/clientscripts/PollyWebDriverExt.js +1 -1
- package/lib/hooks.js +1 -2
- package/lib/interfaces/gherkin.js +0 -1
- package/lib/listener/helpers.js +1 -2
- package/lib/listener/mocha.js +0 -1
- package/lib/locator.js +2 -2
- package/lib/pause.js +1 -1
- package/lib/plugin/allure.js +1 -1
- package/lib/plugin/autoDelay.js +2 -2
- package/lib/plugin/autoLogin.js +1 -1
- package/lib/plugin/standardActingHelpers.js +0 -2
- package/lib/recorder.js +1 -1
- package/package.json +3 -2
- package/translations/fr-FR.js +63 -0
- package/translations/index.js +5 -4
package/docs/changelog.md
CHANGED
|
@@ -7,14 +7,21 @@ layout: Section
|
|
|
7
7
|
|
|
8
8
|
# Releases
|
|
9
9
|
|
|
10
|
+
## 2.6.11
|
|
11
|
+
|
|
12
|
+
* **[Playwright]** Playwright 1.4 compatibility
|
|
13
|
+
* **[Playwright]** Added `ignoreHTTPSErrors` config option (default: false). See [#2566](https://github.com/codeceptjs/CodeceptJS/issues/2566) by gurjeetbains
|
|
14
|
+
* Added French translation by **[vimar](https://github.com/vimar)**
|
|
15
|
+
* **[WebDriver]** Updated `dragSlider` to work in WebDriver W3C protocol. Fixes [#2557](https://github.com/codeceptjs/CodeceptJS/issues/2557) by suniljaiswal01
|
|
16
|
+
|
|
10
17
|
## 2.6.10
|
|
11
18
|
|
|
12
|
-
* Fixed saving options for suite via `Feature('title', {key: value})` by **[Diokuz](https://github.com/Diokuz)**. See [#2553](https://github.com/
|
|
19
|
+
* Fixed saving options for suite via `Feature('title', {key: value})` by **[Diokuz](https://github.com/Diokuz)**. See [#2553](https://github.com/codeceptjs/CodeceptJS/issues/2553) and [Docs](https://codecept.io/advanced/#dynamic-configuration)
|
|
13
20
|
|
|
14
21
|
## 2.6.9
|
|
15
22
|
|
|
16
|
-
* [Puppeteer][Playwright] SessionStorage is now cleared in after hook. See [#2524](https://github.com/
|
|
17
|
-
* When helper load failed the error stack is now logged by **[SkReD](https://github.com/SkReD)**. See [#2541](https://github.com/
|
|
23
|
+
* [Puppeteer][Playwright] SessionStorage is now cleared in after hook. See [#2524](https://github.com/codeceptjs/CodeceptJS/issues/2524)
|
|
24
|
+
* When helper load failed the error stack is now logged by **[SkReD](https://github.com/SkReD)**. See [#2541](https://github.com/codeceptjs/CodeceptJS/issues/2541)
|
|
18
25
|
* Small documentation fixes.
|
|
19
26
|
|
|
20
27
|
## 2.6.8
|
|
@@ -23,32 +30,32 @@ layout: Section
|
|
|
23
30
|
* [Playwright][Puppeteer] Added `type` method to type a text using keyboard with an optional delay.
|
|
24
31
|
* **[WebDriver]** Added optional `delay` argument to `type` method to slow down typing.
|
|
25
32
|
* **[Puppeteer]** Fixed `amOnPage` freeze when `getPageTimeout` is 0"; set 30 sec as default timeout by **[Vorobeyko](https://github.com/Vorobeyko)**.
|
|
26
|
-
* Fixed printing step with null argument in custom helper by **[sjana-aj](https://github.com/sjana-aj)**. See [#2494](https://github.com/
|
|
27
|
-
* Fix missing screenshot on failure when REST helper is in use [#2513](https://github.com/
|
|
28
|
-
* Improve error logging in the `screenshotOnFail` plugin [#2512](https://github.com/
|
|
33
|
+
* Fixed printing step with null argument in custom helper by **[sjana-aj](https://github.com/sjana-aj)**. See [#2494](https://github.com/codeceptjs/CodeceptJS/issues/2494)
|
|
34
|
+
* Fix missing screenshot on failure when REST helper is in use [#2513](https://github.com/codeceptjs/CodeceptJS/issues/2513) by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
35
|
+
* Improve error logging in the `screenshotOnFail` plugin [#2512](https://github.com/codeceptjs/CodeceptJS/issues/2512) by **[pablopaul](https://github.com/pablopaul)**
|
|
29
36
|
|
|
30
37
|
## 2.6.7
|
|
31
38
|
|
|
32
|
-
* Add REST helper into `standardActingHelpers` array [#2474](https://github.com/
|
|
33
|
-
* Add missing `--invert` option for `run-workers` command [#2504](https://github.com/
|
|
34
|
-
* **[WebDriver]** Introduce `forceRightClick` method [#2485](https://github.com/
|
|
35
|
-
* **[Playwright]** Fix `setCookie` method [#2491](https://github.com/
|
|
36
|
-
* **[TypeScript]** Update compilerOptions.target to es2017 [#2483](https://github.com/
|
|
37
|
-
* **[Mocha]** Honor reporter configuration [#2465](https://github.com/
|
|
39
|
+
* Add REST helper into `standardActingHelpers` array [#2474](https://github.com/codeceptjs/CodeceptJS/issues/2474) by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
40
|
+
* Add missing `--invert` option for `run-workers` command [#2504](https://github.com/codeceptjs/CodeceptJS/issues/2504) by **[pablopaul](https://github.com/pablopaul)**
|
|
41
|
+
* **[WebDriver]** Introduce `forceRightClick` method [#2485](https://github.com/codeceptjs/CodeceptJS/issues/2485) bylsuniljaiswal01
|
|
42
|
+
* **[Playwright]** Fix `setCookie` method [#2491](https://github.com/codeceptjs/CodeceptJS/issues/2491) by **[bmbarker90](https://github.com/bmbarker90)**
|
|
43
|
+
* **[TypeScript]** Update compilerOptions.target to es2017 [#2483](https://github.com/codeceptjs/CodeceptJS/issues/2483) by **[shanplourde](https://github.com/shanplourde)**
|
|
44
|
+
* **[Mocha]** Honor reporter configuration [#2465](https://github.com/codeceptjs/CodeceptJS/issues/2465) by **[trinhpham](https://github.com/trinhpham)**
|
|
38
45
|
|
|
39
46
|
## 2.6.6
|
|
40
47
|
|
|
41
48
|
* Puppeteer 4.0 support. Important: MockRequest helper won't work with Puppeter > 3.3
|
|
42
49
|
* Added `xFeature` and `Feature.skip` to skip all tests in a suite. By **[Georgegriff](https://github.com/Georgegriff)**
|
|
43
|
-
* **[Appium]** Fixed [#2428](https://github.com/
|
|
50
|
+
* **[Appium]** Fixed [#2428](https://github.com/codeceptjs/CodeceptJS/issues/2428) Android native locator support by **[idxn](https://github.com/idxn)**
|
|
44
51
|
* **[WebDriver]** Fixed `waitNumberOfVisibleElements` to actually filter visible elements. By **[ilangv](https://github.com/ilangv)**
|
|
45
|
-
* **[Puppeteer]** Fixed handling error which is not an Error object. Fixes `cannot read property indexOf of undefined` error. Fix [#2436](https://github.com/
|
|
52
|
+
* **[Puppeteer]** Fixed handling error which is not an Error object. Fixes `cannot read property indexOf of undefined` error. Fix [#2436](https://github.com/codeceptjs/CodeceptJS/issues/2436) by **[Georgegriff](https://github.com/Georgegriff)**
|
|
46
53
|
* **[Puppeteer]** Print error on page crash by **[Georgegriff](https://github.com/Georgegriff)**
|
|
47
54
|
|
|
48
55
|
## 2.6.5
|
|
49
56
|
|
|
50
|
-
* Added `test.skipped` event to run-workers, fixing allure reports with skipped tests in workers [#2391](https://github.com/
|
|
51
|
-
* **[Playwright]** Fixed calling `waitFor*` methods with custom locators [#2314](https://github.com/
|
|
57
|
+
* Added `test.skipped` event to run-workers, fixing allure reports with skipped tests in workers [#2391](https://github.com/codeceptjs/CodeceptJS/issues/2391). Fix [#2387](https://github.com/codeceptjs/CodeceptJS/issues/2387) by **[koushikmohan1996](https://github.com/koushikmohan1996)**
|
|
58
|
+
* **[Playwright]** Fixed calling `waitFor*` methods with custom locators [#2314](https://github.com/codeceptjs/CodeceptJS/issues/2314). Fix [#2389](https://github.com/codeceptjs/CodeceptJS/issues/2389) by **[Georgegriff](https://github.com/Georgegriff)**
|
|
52
59
|
|
|
53
60
|
## 2.6.4
|
|
54
61
|
|
|
@@ -56,8 +63,8 @@ layout: Section
|
|
|
56
63
|
|
|
57
64
|
## 2.6.3
|
|
58
65
|
|
|
59
|
-
* [stepByStepReport plugin] Fixed when using plugin with BeforeSuite. Fixes [#2337](https://github.com/
|
|
60
|
-
* [allure plugin] Fixed reporting of tests skipped by failure in before hook. Refer to [#2349](https://github.com/
|
|
66
|
+
* [stepByStepReport plugin] Fixed when using plugin with BeforeSuite. Fixes [#2337](https://github.com/codeceptjs/CodeceptJS/issues/2337) by **[mirao](https://github.com/mirao)**
|
|
67
|
+
* [allure plugin] Fixed reporting of tests skipped by failure in before hook. Refer to [#2349](https://github.com/codeceptjs/CodeceptJS/issues/2349) & [#2354](https://github.com/codeceptjs/CodeceptJS/issues/2354). Fix by **[koushikmohan1996](https://github.com/koushikmohan1996)**
|
|
61
68
|
|
|
62
69
|
## 2.6.2
|
|
63
70
|
|
|
@@ -70,14 +77,14 @@ layout: Section
|
|
|
70
77
|
* **[WebDriver]** Fixed `waitForEnabled` fix for webdriver 6. Fix by **[dsharapkou](https://github.com/dsharapkou)**
|
|
71
78
|
* Workers: Fixed negative failure result if use scenario with the same names. Fix by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
72
79
|
* **[MockRequest]** Updated documentation to match new helper version
|
|
73
|
-
* Fixed: skipped tests are not reported if a suite failed in `before`. Refer [#2349](https://github.com/
|
|
80
|
+
* Fixed: skipped tests are not reported if a suite failed in `before`. Refer [#2349](https://github.com/codeceptjs/CodeceptJS/issues/2349) & [#2354](https://github.com/codeceptjs/CodeceptJS/issues/2354). Fix by **[koushikmohan1996](https://github.com/koushikmohan1996)**
|
|
74
81
|
|
|
75
82
|
## 2.6.1
|
|
76
83
|
|
|
77
84
|
* [screenshotOnFail plugin] Fixed saving screenshot of active session.
|
|
78
|
-
* [screenshotOnFail plugin] Fix issue [#2301](https://github.com/
|
|
85
|
+
* [screenshotOnFail plugin] Fix issue [#2301](https://github.com/codeceptjs/CodeceptJS/issues/2301) when having the flag `uniqueScreenshotNames`=true results in `undefined` in screenshot file name by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
79
86
|
* **[WebDriver]** Fixed `waitForElement` not applying the optional second argument to override the default timeout in webdriverio 6. Fix by **[Mooksc](https://github.com/Mooksc)**
|
|
80
|
-
* **[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](https://github.com/
|
|
87
|
+
* **[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](https://github.com/codeceptjs/CodeceptJS/issues/2313) by **[Mooksc](https://github.com/Mooksc)**
|
|
81
88
|
|
|
82
89
|
## 2.6.0
|
|
83
90
|
|
|
@@ -102,7 +109,7 @@ I.executeScript(({x, y}) => x + y, {x, y});
|
|
|
102
109
|
* `clickLink` - deprecated
|
|
103
110
|
* `waitForClickable` - deprecated
|
|
104
111
|
* `forceClick` - added
|
|
105
|
-
* Added support for custom locators. See [#2277](https://github.com/
|
|
112
|
+
* Added support for custom locators. See [#2277](https://github.com/codeceptjs/CodeceptJS/issues/2277)
|
|
106
113
|
* Introduced [device emulation](/playwright/#device-emulation):
|
|
107
114
|
* globally via `emulate` config option
|
|
108
115
|
* per session
|
|
@@ -128,20 +135,20 @@ I.click({ shadow: ['my-app', 'recipe-hello', 'button'] });
|
|
|
128
135
|
* added `mockServer` method to use flexible PollyJS API to define mocks
|
|
129
136
|
* fixed stale browser screen in record mode.
|
|
130
137
|
* **[Playwright]** Added support on for `screenshotOnFail` plugin by **[amonkc](https://github.com/amonkc)**
|
|
131
|
-
* Gherkin improvement: setting different tags per examples. See [#2208](https://github.com/
|
|
132
|
-
* **[TestCafe]** Updated `click` to take first visible element. Fixes [#2226](https://github.com/
|
|
133
|
-
* [Puppeteer][WebDriver] Updated `waitForClickable` method to check for element overlapping. See [#2261](https://github.com/
|
|
138
|
+
* Gherkin improvement: setting different tags per examples. See [#2208](https://github.com/codeceptjs/CodeceptJS/issues/2208) by **[acuper](https://github.com/acuper)**
|
|
139
|
+
* **[TestCafe]** Updated `click` to take first visible element. Fixes [#2226](https://github.com/codeceptjs/CodeceptJS/issues/2226) by **[theTainted](https://github.com/theTainted)**
|
|
140
|
+
* [Puppeteer][WebDriver] Updated `waitForClickable` method to check for element overlapping. See [#2261](https://github.com/codeceptjs/CodeceptJS/issues/2261) by **[PiQx](https://github.com/PiQx)**
|
|
134
141
|
* **[Puppeteer]** Dropped `puppeteer-firefox` support, as Puppeteer supports Firefox natively.
|
|
135
|
-
* **[REST]** Rrespect Content-Type header. See [#2262](https://github.com/
|
|
136
|
-
* [allure plugin] Fixes BeforeSuite failures in allure reports. See [#2248](https://github.com/
|
|
137
|
-
* [WebDriver][Puppeteer][Playwright] A screenshot of for an active session is saved in multi-session mode. See [#2253](https://github.com/
|
|
142
|
+
* **[REST]** Rrespect Content-Type header. See [#2262](https://github.com/codeceptjs/CodeceptJS/issues/2262) by **[pmarshall-legacy](https://github.com/pmarshall-legacy)**
|
|
143
|
+
* [allure plugin] Fixes BeforeSuite failures in allure reports. See [#2248](https://github.com/codeceptjs/CodeceptJS/issues/2248) by **[Georgegriff](https://github.com/Georgegriff)**
|
|
144
|
+
* [WebDriver][Puppeteer][Playwright] A screenshot of for an active session is saved in multi-session mode. See [#2253](https://github.com/codeceptjs/CodeceptJS/issues/2253) by **[ChexWarrior](https://github.com/ChexWarrior)**
|
|
138
145
|
* Fixed `--profile` option by **[pablopaul](https://github.com/pablopaul)**. Profile value to be passed into `run-multiple` and `run-workers`:
|
|
139
146
|
|
|
140
147
|
```
|
|
141
148
|
npx codecept run-workers 2 --profile firefox
|
|
142
149
|
```
|
|
143
150
|
|
|
144
|
-
Value is available at `process.env.profile` (previously `process.profile`). See [#2302](https://github.com/
|
|
151
|
+
Value is available at `process.env.profile` (previously `process.profile`). See [#2302](https://github.com/codeceptjs/CodeceptJS/issues/2302). Fixes [#1968](https://github.com/codeceptjs/CodeceptJS/issues/1968) [#1315](https://github.com/codeceptjs/CodeceptJS/issues/1315)
|
|
145
152
|
|
|
146
153
|
* [commentStep Plugin introduced](/plugins#commentstep). Allows to annotate logical parts of a test:
|
|
147
154
|
|
|
@@ -162,17 +169,17 @@ I.see('You are logged out');
|
|
|
162
169
|
|
|
163
170
|
> [Playwright](https://github.com/microsoft/playwright/) is an alternative to Puppeteer which works very similarly to it but adds cross-browser support with Firefox and Webkit. Until v1.0 Playwright API is not stable but we introduce it to CodeceptJS so you could try it.
|
|
164
171
|
|
|
165
|
-
* **[Puppeteer]** Fixed basic auth support when running in multiple sessions. See [#2178](https://github.com/
|
|
166
|
-
* **[Puppeteer]** Fixed `waitForText` when there is no `body` element on page (redirect). See [#2181](https://github.com/
|
|
167
|
-
* [Selenoid plugin] Fixed overriding current capabilities by adding deepMerge. Fixes [#2183](https://github.com/
|
|
172
|
+
* **[Puppeteer]** Fixed basic auth support when running in multiple sessions. See [#2178](https://github.com/codeceptjs/CodeceptJS/issues/2178) by **[ian-bartholomew](https://github.com/ian-bartholomew)**
|
|
173
|
+
* **[Puppeteer]** Fixed `waitForText` when there is no `body` element on page (redirect). See [#2181](https://github.com/codeceptjs/CodeceptJS/issues/2181) by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
174
|
+
* [Selenoid plugin] Fixed overriding current capabilities by adding deepMerge. Fixes [#2183](https://github.com/codeceptjs/CodeceptJS/issues/2183) by **[koushikmohan1996](https://github.com/koushikmohan1996)**
|
|
168
175
|
* Added types for `Scenario.todo` by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
169
176
|
* Added types for Mocha by **[Vorobeyko](https://github.com/Vorobeyko)**. Fixed typing conflicts with Jest
|
|
170
177
|
* **[FileSystem]** Added methods by **[nitschSB](https://github.com/nitschSB)**
|
|
171
178
|
* `waitForFile`
|
|
172
179
|
* `seeFileContentsEqualReferenceFile`
|
|
173
|
-
* Added `--colors` option to `run` and `run-multiple` so you force colored output in dockerized environment. See [#2189](https://github.com/
|
|
174
|
-
* **[WebDriver]** Added `type` command to enter value without focusing on a field. See [#2198](https://github.com/
|
|
175
|
-
* Fixed `codeceptjs gt` command to respect config pattern for tests. See [#2200](https://github.com/
|
|
180
|
+
* Added `--colors` option to `run` and `run-multiple` so you force colored output in dockerized environment. See [#2189](https://github.com/codeceptjs/CodeceptJS/issues/2189) by **[mirao](https://github.com/mirao)**
|
|
181
|
+
* **[WebDriver]** Added `type` command to enter value without focusing on a field. See [#2198](https://github.com/codeceptjs/CodeceptJS/issues/2198) by **[xMutaGenx](https://github.com/xMutaGenx)**
|
|
182
|
+
* Fixed `codeceptjs gt` command to respect config pattern for tests. See [#2200](https://github.com/codeceptjs/CodeceptJS/issues/2200) and [#2204](https://github.com/codeceptjs/CodeceptJS/issues/2204) by **[matheo](https://github.com/matheo)**
|
|
176
183
|
|
|
177
184
|
|
|
178
185
|
## 2.4.3
|
|
@@ -195,8 +202,8 @@ I.see('You are logged out');
|
|
|
195
202
|
* 📢 Please help us translate context methods to your language! See [italian translation](https://github.com/codeceptjs/CodeceptJS/blob/master/translations/it-IT.js#L3) as an example and send [patches to vocabularies](https://github.com/codeceptjs/CodeceptJS/tree/master/translations).
|
|
196
203
|
* allurePlugin: Added `say` comments to allure reports by **[PeterNgTr](https://github.com/PeterNgTr)**.
|
|
197
204
|
* Fixed no custom output folder created when executed with run-worker. Fix by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
198
|
-
* **[Puppeteer]** Fixed error description for context element not found. See [#2065](https://github.com/
|
|
199
|
-
* **[WebDriver]** Fixed `waitForClickable` to wait for exact number of seconds by **[mirao](https://github.com/mirao)**. Resolves [#2166](https://github.com/
|
|
205
|
+
* **[Puppeteer]** Fixed error description for context element not found. See [#2065](https://github.com/codeceptjs/CodeceptJS/issues/2065). Fix by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
206
|
+
* **[WebDriver]** Fixed `waitForClickable` to wait for exact number of seconds by **[mirao](https://github.com/mirao)**. Resolves [#2166](https://github.com/codeceptjs/CodeceptJS/issues/2166)
|
|
200
207
|
* Fixed setting `compilerOptions` in `jsconfig.json` file on init by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
201
208
|
* **[Filesystem]** Added method by **[nitschSB](https://github.com/nitschSB)**
|
|
202
209
|
* `seeFileContentsEqualReferenceFile`
|
|
@@ -216,20 +223,20 @@ I.see('You are logged out');
|
|
|
216
223
|
* removed question on "steps file", create it by default.
|
|
217
224
|
* Added [pauseOnFail plugin](/plugins/#pauseonfail). *Sponsored by Paul Vincent Beigang and his book "[Practical End 2 End Testing with CodeceptJS](https://leanpub.com/codeceptjs/)"*.
|
|
218
225
|
* Added [`run-rerun` command](/commands/#run-rerun) to run tests multiple times to detect and fix flaky tests. By **[Ilrilan](https://github.com/Ilrilan)** and **[Vorobeyko](https://github.com/Vorobeyko)**.
|
|
219
|
-
* Added [`Scenario.todo()` to declare tests as pending](/basics#todotest). See [#2100](https://github.com/
|
|
220
|
-
* Added support for absolute path for `output` dir. See [#2049](https://github.com/
|
|
221
|
-
* Fixed error in `npx codecept init` caused by calling `console.print`. See [#2071](https://github.com/
|
|
226
|
+
* Added [`Scenario.todo()` to declare tests as pending](/basics#todotest). See [#2100](https://github.com/codeceptjs/CodeceptJS/issues/2100) by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
227
|
+
* Added support for absolute path for `output` dir. See [#2049](https://github.com/codeceptjs/CodeceptJS/issues/2049) by **[elukoyanov](https://github.com/elukoyanov)**
|
|
228
|
+
* Fixed error in `npx codecept init` caused by calling `console.print`. See [#2071](https://github.com/codeceptjs/CodeceptJS/issues/2071) by **[Atinux](https://github.com/Atinux)**.
|
|
222
229
|
* **[Filesystem]** Methods added by **[aefluke](https://github.com/aefluke)**:
|
|
223
230
|
* `seeFileNameMatching`
|
|
224
231
|
* `grabFileNames`
|
|
225
232
|
* **[Puppeteer]** Fixed grabbing attributes with hyphen by **[Holorium](https://github.com/Holorium)**
|
|
226
233
|
* **[TestCafe]** Fixed `grabAttributeFrom` method by **[elukoyanov](https://github.com/elukoyanov)**
|
|
227
234
|
* **[MockRequest]** Added support for [Polly config options](https://netflix.github.io/pollyjs/#/configuration?id=configuration) by **[ecrmnn](https://github.com/ecrmnn)**
|
|
228
|
-
* **[TestCafe]** Fixes exiting with zero code on failure. Fixed [#2090](https://github.com/
|
|
229
|
-
* [WebDriver][Puppeteer] Added basicAuth support via config. Example: `basicAuth: {username: 'username', password: 'password'}`. See [#1962](https://github.com/
|
|
235
|
+
* **[TestCafe]** Fixes exiting with zero code on failure. Fixed [#2090](https://github.com/codeceptjs/CodeceptJS/issues/2090) with [#2106](https://github.com/codeceptjs/CodeceptJS/issues/2106) by **[koushikmohan1996](https://github.com/koushikmohan1996)**
|
|
236
|
+
* [WebDriver][Puppeteer] Added basicAuth support via config. Example: `basicAuth: {username: 'username', password: 'password'}`. See [#1962](https://github.com/codeceptjs/CodeceptJS/issues/1962) by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
230
237
|
* [WebDriver][Appium] Added `scrollIntoView` by **[pablopaul](https://github.com/pablopaul)**
|
|
231
|
-
* Fixed [#2118](https://github.com/
|
|
232
|
-
* Added `parse()` method to data table inside Cucumber tests. Use it to obtain rows and hashes for test data. See [#2082](https://github.com/
|
|
238
|
+
* Fixed [#2118](https://github.com/codeceptjs/CodeceptJS/issues/2118): No error stack trace for syntax error by **[senthillkumar](https://github.com/senthillkumar)**
|
|
239
|
+
* Added `parse()` method to data table inside Cucumber tests. Use it to obtain rows and hashes for test data. See [#2082](https://github.com/codeceptjs/CodeceptJS/issues/2082) by **[Sraime](https://github.com/Sraime)**
|
|
233
240
|
|
|
234
241
|
## 2.3.6
|
|
235
242
|
|
|
@@ -248,8 +255,8 @@ exports.config = {
|
|
|
248
255
|
* **[TestCafe]** Added support for remote connection. By **[jvdieten](https://github.com/jvdieten)**
|
|
249
256
|
* **[Puppeteer]** Fixed `waitForText` XPath context now works correctly. By **[Heavik](https://github.com/Heavik)**
|
|
250
257
|
* **[TestCafe]** Fixed `clearField` clear field now awaits TestCafe's promise. By **[orihomie](https://github.com/orihomie)**
|
|
251
|
-
* **[Puppeteer]** Fixed fails when executing localStorage on services pages. See [#2026](https://github.com/
|
|
252
|
-
* Fixed empty tags in test name. See [#2038](https://github.com/
|
|
258
|
+
* **[Puppeteer]** Fixed fails when executing localStorage on services pages. See [#2026](https://github.com/codeceptjs/CodeceptJS/issues/2026)
|
|
259
|
+
* Fixed empty tags in test name. See [#2038](https://github.com/codeceptjs/CodeceptJS/issues/2038)
|
|
253
260
|
|
|
254
261
|
## 2.3.5
|
|
255
262
|
|
|
@@ -258,7 +265,7 @@ exports.config = {
|
|
|
258
265
|
## 2.3.4
|
|
259
266
|
|
|
260
267
|
* Fixed installation error "Cannot find module '@babel/runtime/helpers/interopRequireDefault'". The issue came from `parse-function` package. Fixed by **[pablopaul](https://github.com/pablopaul)**.
|
|
261
|
-
* **[Puppeteer]** Fixed switching to iframe without an ID by **[johnyb](https://github.com/johnyb)**. See [#1974](https://github.com/
|
|
268
|
+
* **[Puppeteer]** Fixed switching to iframe without an ID by **[johnyb](https://github.com/johnyb)**. See [#1974](https://github.com/codeceptjs/CodeceptJS/issues/1974)
|
|
262
269
|
* Added `--profile` option to `run-workers` by **[orihomie](https://github.com/orihomie)**
|
|
263
270
|
* Added a tag definition to `FeatureConfig` and `ScenarioConfig` by **[sseliverstov](https://github.com/sseliverstov)**
|
|
264
271
|
|
|
@@ -282,31 +289,31 @@ Changed pressKey method to resolve issues and extend functionality.
|
|
|
282
289
|
* Added support to automatic change operation modifier key based on operating system.
|
|
283
290
|
* [Puppeteer][WebDriver] Added `pressKeyUp` and `pressKeyDown` to press and release modifier keys like `Control` or `Shift`. By **[martomo](https://github.com/martomo)**.
|
|
284
291
|
* [Puppeteer][WebDriver] Added `grabElementBoundingRect` by **[PeterNgTr](https://github.com/PeterNgTr)**.
|
|
285
|
-
* **[Puppeteer]** Fixed speed degradation introduced in [#1306](https://github.com/
|
|
292
|
+
* **[Puppeteer]** Fixed speed degradation introduced in [#1306](https://github.com/codeceptjs/CodeceptJS/issues/1306) with accessibility locators support. See [#1953](https://github.com/codeceptjs/CodeceptJS/issues/1953).
|
|
286
293
|
* Added `Config.addHook` to add a function that will update configuration on load.
|
|
287
294
|
* Started [`@codeceptjs/configure`](https://github.com/codecept-js/configure) package with a collection of common configuration patterns.
|
|
288
|
-
* **[TestCafe]** port's management removed (left on TestCafe itself) by **[orihomie](https://github.com/orihomie)**. Fixes [#1934](https://github.com/
|
|
289
|
-
* **[REST]** Headers are no more declared as singleton variable. Fixes [#1959](https://github.com/
|
|
295
|
+
* **[TestCafe]** port's management removed (left on TestCafe itself) by **[orihomie](https://github.com/orihomie)**. Fixes [#1934](https://github.com/codeceptjs/CodeceptJS/issues/1934).
|
|
296
|
+
* **[REST]** Headers are no more declared as singleton variable. Fixes [#1959](https://github.com/codeceptjs/CodeceptJS/issues/1959)
|
|
290
297
|
* Updated Docker image to include run tests in workers with `NUMBER_OF_WORKERS` env variable. By **[PeterNgTr](https://github.com/PeterNgTr)**.
|
|
291
298
|
|
|
292
299
|
## 2.3.2
|
|
293
300
|
|
|
294
301
|
* **[Puppeteer]** Fixed Puppeteer 1.20 support by **[davertmik](https://github.com/davertmik)**
|
|
295
|
-
* Fixed `run-workers` to run with complex configs. See [#1887](https://github.com/
|
|
302
|
+
* Fixed `run-workers` to run with complex configs. See [#1887](https://github.com/codeceptjs/CodeceptJS/issues/1887) by **[nitschSB](https://github.com/nitschSB)**
|
|
296
303
|
* Added `--suites` option to `run-workers` to split suites by workers (tests of the same suite goes to teh same worker). Thanks **[nitschSB](https://github.com/nitschSB)**.
|
|
297
304
|
* Added a guide on [Email Testing](https://codecept.io/email).
|
|
298
305
|
* **[retryFailedStepPlugin]** Improved to ignore wait* steps and others. Also added option to ignore this plugin per test bases. See [updated documentation](https://codecept.io/plugins#retryfailedstep). By **[davertmik](https://github.com/davertmik)**
|
|
299
|
-
* Fixed using PageObjects as classes by **[Vorobeyko](https://github.com/Vorobeyko)**. See [#1896](https://github.com/
|
|
300
|
-
* **[WebDriver]** Fixed opening more than one tab. See [#1875](https://github.com/
|
|
301
|
-
* Fixed [#1891](https://github.com/
|
|
306
|
+
* Fixed using PageObjects as classes by **[Vorobeyko](https://github.com/Vorobeyko)**. See [#1896](https://github.com/codeceptjs/CodeceptJS/issues/1896)
|
|
307
|
+
* **[WebDriver]** Fixed opening more than one tab. See [#1875](https://github.com/codeceptjs/CodeceptJS/issues/1875) by **[jplegoff](https://github.com/jplegoff)**. Fixes [#1874](https://github.com/codeceptjs/CodeceptJS/issues/1874)
|
|
308
|
+
* Fixed [#1891](https://github.com/codeceptjs/CodeceptJS/issues/1891) when `I.retry()` affected retries of next steps. By **[davertmik](https://github.com/davertmik)**
|
|
302
309
|
|
|
303
310
|
## 2.3.1
|
|
304
311
|
|
|
305
312
|
* **[MockRequest]** Polly helper was renamed to MockRequest.
|
|
306
313
|
* [MockRequest][WebDriver] [Mocking requests](https://codecept.io/webdriver#mocking-requests) is now available in WebDriver. Thanks **[radhey1851](https://github.com/radhey1851)**
|
|
307
|
-
* **[Puppeteer]** Ensure configured user agent and/or window size is applied to all pages. See [#1862](https://github.com/
|
|
308
|
-
* Improve handling of xpath locators with round brackets by **[nitschSB](https://github.com/nitschSB)**. See [#1870](https://github.com/
|
|
309
|
-
* Use WebDriver capabilities config in wdio plugin. [#1869](https://github.com/
|
|
314
|
+
* **[Puppeteer]** Ensure configured user agent and/or window size is applied to all pages. See [#1862](https://github.com/codeceptjs/CodeceptJS/issues/1862) by **[martomo](https://github.com/martomo)**
|
|
315
|
+
* Improve handling of xpath locators with round brackets by **[nitschSB](https://github.com/nitschSB)**. See [#1870](https://github.com/codeceptjs/CodeceptJS/issues/1870)
|
|
316
|
+
* Use WebDriver capabilities config in wdio plugin. [#1869](https://github.com/codeceptjs/CodeceptJS/issues/1869) by **[quekshuy](https://github.com/quekshuy)**
|
|
310
317
|
|
|
311
318
|
## 2.3.0
|
|
312
319
|
|
|
@@ -320,25 +327,25 @@ npx codeceptjs run-workers 3
|
|
|
320
327
|
* [GraphQL][GraphQLDataFactory] **Helpers for data management over GraphQL** APIs added. By **[radhey1851](https://github.com/radhey1851)**.
|
|
321
328
|
* Learn how to [use GraphQL helper](https://codecept.io/data#graphql) to access GarphQL API
|
|
322
329
|
* And how to combine it with [GraphQLDataFactory](https://codecept.io/data#graphql-data-factory) to generate and persist test data.
|
|
323
|
-
* **Updated to use Mocha 6**. See [#1802](https://github.com/
|
|
324
|
-
* Added `dry-run` command to print steps of test scenarios without running them. Fails to execute scenarios with `grab*` methods or custom code. See [#1825](https://github.com/
|
|
330
|
+
* **Updated to use Mocha 6**. See [#1802](https://github.com/codeceptjs/CodeceptJS/issues/1802) by **[elukoyanov](https://github.com/elukoyanov)**
|
|
331
|
+
* Added `dry-run` command to print steps of test scenarios without running them. Fails to execute scenarios with `grab*` methods or custom code. See [#1825](https://github.com/codeceptjs/CodeceptJS/issues/1825) for more details.
|
|
325
332
|
|
|
326
333
|
```
|
|
327
334
|
npx codeceptjs dry-run
|
|
328
335
|
```
|
|
329
336
|
|
|
330
|
-
* **[Appium]** Optimization when clicking, searching for fields by accessibility id. See [#1777](https://github.com/
|
|
337
|
+
* **[Appium]** Optimization when clicking, searching for fields by accessibility id. See [#1777](https://github.com/codeceptjs/CodeceptJS/issues/1777) by **[gagandeepsingh26](https://github.com/gagandeepsingh26)**
|
|
331
338
|
* **[TestCafe]** Fixed `switchTo` by **[KadoBOT](https://github.com/KadoBOT)**
|
|
332
339
|
* **[WebDriver]** Added geolocation actions by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
333
340
|
* `grabGeoLocation()`
|
|
334
341
|
* `setGeoLocation()`
|
|
335
|
-
* **[Polly]** Check typeof arguments for mock requests by **[VikalpP](https://github.com/VikalpP)**. Fixes [#1815](https://github.com/
|
|
342
|
+
* **[Polly]** Check typeof arguments for mock requests by **[VikalpP](https://github.com/VikalpP)**. Fixes [#1815](https://github.com/codeceptjs/CodeceptJS/issues/1815)
|
|
336
343
|
* CLI improvements by **[jamesgeorge007](https://github.com/jamesgeorge007)**
|
|
337
344
|
* `codeceptjs` command prints list of all available commands
|
|
338
345
|
* added `codeceptjs -V` flag to print version information
|
|
339
346
|
* warns on unknown command
|
|
340
347
|
* Added TypeScript files support to `run-multiple` by **[z4o4z](https://github.com/z4o4z)**
|
|
341
|
-
* Fixed element position bug in locator builder. See [#1829](https://github.com/
|
|
348
|
+
* Fixed element position bug in locator builder. See [#1829](https://github.com/codeceptjs/CodeceptJS/issues/1829) by **[AnotherAnkor](https://github.com/AnotherAnkor)**
|
|
342
349
|
* Various TypeScript typings updates by **[elukoyanov](https://github.com/elukoyanov)** and **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
343
350
|
* Added `event.step.comment` event for all comment steps like `I.say` or gherking steps.
|
|
344
351
|
|
|
@@ -355,21 +362,21 @@ npx codeceptjs dry-run
|
|
|
355
362
|
* `scrollTo`
|
|
356
363
|
* `switchTo`
|
|
357
364
|
* Intellisense improvements. Renamed `tsconfig.json` to `jsconfig.json` on init. Fixed autocompletion for Visual Studio Code.
|
|
358
|
-
* **[Polly]** Take configuration values from Puppeteer. Fix [#1766](https://github.com/
|
|
359
|
-
* **[Polly]** Add preconditions to check for puppeteer page availability by **[VikalpP](https://github.com/VikalpP)**. Fixes [#1767](https://github.com/
|
|
360
|
-
* **[WebDriver]** Use filename for `uploadFile` by **[VikalpP](https://github.com/VikalpP)**. See [#1797](https://github.com/
|
|
365
|
+
* **[Polly]** Take configuration values from Puppeteer. Fix [#1766](https://github.com/codeceptjs/CodeceptJS/issues/1766) by **[VikalpP](https://github.com/VikalpP)**
|
|
366
|
+
* **[Polly]** Add preconditions to check for puppeteer page availability by **[VikalpP](https://github.com/VikalpP)**. Fixes [#1767](https://github.com/codeceptjs/CodeceptJS/issues/1767)
|
|
367
|
+
* **[WebDriver]** Use filename for `uploadFile` by **[VikalpP](https://github.com/VikalpP)**. See [#1797](https://github.com/codeceptjs/CodeceptJS/issues/1797)
|
|
361
368
|
* **[Puppeteer]** Configure speed of input with `pressKeyDelay` option. By **[hubidu](https://github.com/hubidu)**
|
|
362
369
|
* Fixed recursive loading of support objects by **[davertmik](https://github.com/davertmik)**.
|
|
363
|
-
* Fixed support object definitions in steps.d.ts by **[johnyb](https://github.com/johnyb)**. Fixes [#1795](https://github.com/
|
|
370
|
+
* Fixed support object definitions in steps.d.ts by **[johnyb](https://github.com/johnyb)**. Fixes [#1795](https://github.com/codeceptjs/CodeceptJS/issues/1795)
|
|
364
371
|
* Fixed `Data().Scenario().injectDependencies()` is not a function by **[andrerleao](https://github.com/andrerleao)**
|
|
365
|
-
* Fixed crash when using xScenario & Scenario.skip with tag by **[VikalpP](https://github.com/VikalpP)**. Fixes [#1751](https://github.com/
|
|
366
|
-
* Dynamic configuration of helpers can be performed with async function. See [#1786](https://github.com/
|
|
372
|
+
* Fixed crash when using xScenario & Scenario.skip with tag by **[VikalpP](https://github.com/VikalpP)**. Fixes [#1751](https://github.com/codeceptjs/CodeceptJS/issues/1751)
|
|
373
|
+
* Dynamic configuration of helpers can be performed with async function. See [#1786](https://github.com/codeceptjs/CodeceptJS/issues/1786) by **[cviejo](https://github.com/cviejo)**
|
|
367
374
|
* Added TS definitions for internal objects by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
368
375
|
* BDD improvements:
|
|
369
376
|
* Fix for snippets command with a .feature file that has special characters by **[asselin](https://github.com/asselin)**
|
|
370
|
-
* Fix `--path` option on `gherkin:snippets` command by **[asselin](https://github.com/asselin)**. See [#1790](https://github.com/
|
|
371
|
-
* Added `--feature` option to `gherkin:snippets` to enable creating snippets for a subset of .feature files. See [#1803](https://github.com/
|
|
372
|
-
* Fixed: dynamic configs not reset after test. Fixes [#1776](https://github.com/
|
|
377
|
+
* Fix `--path` option on `gherkin:snippets` command by **[asselin](https://github.com/asselin)**. See [#1790](https://github.com/codeceptjs/CodeceptJS/issues/1790)
|
|
378
|
+
* Added `--feature` option to `gherkin:snippets` to enable creating snippets for a subset of .feature files. See [#1803](https://github.com/codeceptjs/CodeceptJS/issues/1803) by **[asselin](https://github.com/asselin)**.
|
|
379
|
+
* Fixed: dynamic configs not reset after test. Fixes [#1776](https://github.com/codeceptjs/CodeceptJS/issues/1776) by **[cviejo](https://github.com/cviejo)**.
|
|
373
380
|
|
|
374
381
|
## 2.2.0
|
|
375
382
|
|
|
@@ -382,24 +389,24 @@ I.mockRequest('GET', '/api/users', 200);
|
|
|
382
389
|
I.mockRequest('POST', '/users', { user: { name: 'fake' }});
|
|
383
390
|
```
|
|
384
391
|
|
|
385
|
-
* **EXPERIMENTAL** **[Puppeteer]** [Firefox support](https://codecept.io/helpers/Puppeteer-firefox) introduced by **[ngadiyak](https://github.com/ngadiyak)**, see [#1740](https://github.com/
|
|
386
|
-
* **[stepByStepReportPlugin]** use md5 hash to generate reports into unique folder. Fix [#1744](https://github.com/
|
|
392
|
+
* **EXPERIMENTAL** **[Puppeteer]** [Firefox support](https://codecept.io/helpers/Puppeteer-firefox) introduced by **[ngadiyak](https://github.com/ngadiyak)**, see [#1740](https://github.com/codeceptjs/CodeceptJS/issues/1740)
|
|
393
|
+
* **[stepByStepReportPlugin]** use md5 hash to generate reports into unique folder. Fix [#1744](https://github.com/codeceptjs/CodeceptJS/issues/1744) by **[chimurai](https://github.com/chimurai)**
|
|
387
394
|
* Interactive pause improvements:
|
|
388
395
|
* print result of `grab` commands
|
|
389
396
|
* print message for successful assertions
|
|
390
397
|
* `run-multiple` (parallel execution) improvements:
|
|
391
|
-
* `bootstrapAll` must be called before creating chunks. [#1741](https://github.com/
|
|
392
|
-
* Bugfix: If value in config has falsy value then multiple config does not overwrite original value. [#1756](https://github.com/
|
|
398
|
+
* `bootstrapAll` must be called before creating chunks. [#1741](https://github.com/codeceptjs/CodeceptJS/issues/1741) by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
399
|
+
* Bugfix: If value in config has falsy value then multiple config does not overwrite original value. [#1756](https://github.com/codeceptjs/CodeceptJS/issues/1756) by **[LukoyanovE](https://github.com/LukoyanovE)**
|
|
393
400
|
* Fixed hooks broken in 2.1.5 by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
394
|
-
* Fix references to support objects when using Dependency Injection. Fix by **[johnyb](https://github.com/johnyb)**. See [#1701](https://github.com/
|
|
395
|
-
* Fix dynamic config applied for multiple helpers by **[VikalpP](https://github.com/VikalpP)** [#1743](https://github.com/
|
|
401
|
+
* Fix references to support objects when using Dependency Injection. Fix by **[johnyb](https://github.com/johnyb)**. See [#1701](https://github.com/codeceptjs/CodeceptJS/issues/1701)
|
|
402
|
+
* Fix dynamic config applied for multiple helpers by **[VikalpP](https://github.com/VikalpP)** [#1743](https://github.com/codeceptjs/CodeceptJS/issues/1743)
|
|
396
403
|
|
|
397
404
|
|
|
398
405
|
## 2.1.5
|
|
399
406
|
|
|
400
407
|
* **EXPERIMENTAL** [Wix Detox support](https://github.com/codeceptjs/detox-helper) introduced as standalone helper. Provides a faster alternative to Appium for mobile testing.
|
|
401
408
|
* Saving successful commands inside interactive pause into `_output/cli-history` file. By **[hubidu](https://github.com/hubidu)**
|
|
402
|
-
* Fixed hanging error handler inside scenario. See [#1721](https://github.com/
|
|
409
|
+
* Fixed hanging error handler inside scenario. See [#1721](https://github.com/codeceptjs/CodeceptJS/issues/1721) by **[haily-lgc](https://github.com/haily-lgc)**.
|
|
403
410
|
* Fixed by **[Vorobeyko](https://github.com/Vorobeyko)**: tests did not fail when an exception was raised in async bootstrap.
|
|
404
411
|
* **[WebDriver]** Added window control methods by **[emmonspired](https://github.com/emmonspired)**
|
|
405
412
|
* `grabAllWindowHandles` returns all window handles
|
|
@@ -561,7 +568,7 @@ Use it with `FileSystem` helper to test availability of a file:
|
|
|
561
568
|
* [allure plugin] Add skipped tests to allure reports by **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
562
569
|
* Fixed `Logged Test name | [object Object]` when used Data().Scenario(). By **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
563
570
|
* Fixed Data().only.Scenario() to run for all datasets. By **[Vorobeyko](https://github.com/Vorobeyko)**
|
|
564
|
-
* **[WebDriver]** `attachFile` to work with hidden elements. Fixed in [#1460](https://github.com/
|
|
571
|
+
* **[WebDriver]** `attachFile` to work with hidden elements. Fixed in [#1460](https://github.com/codeceptjs/CodeceptJS/issues/1460) by **[tsuemura](https://github.com/tsuemura)**
|
|
565
572
|
|
|
566
573
|
|
|
567
574
|
|
|
@@ -630,7 +637,7 @@ Use it with `FileSystem` helper to test availability of a file:
|
|
|
630
637
|
* **Using `codecept.conf.js` as default configuration format**
|
|
631
638
|
* Fixed "enametoolong" error when saving screenshots for data driven tests by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
632
639
|
* Updated NodeJS to 10 in Docker image
|
|
633
|
-
* **[Pupeteer]** Add support to use WSEndpoint. Allows to execute tests remotely. [See [#1350](https://github.com/
|
|
640
|
+
* **[Pupeteer]** Add support to use WSEndpoint. Allows to execute tests remotely. [See [#1350](https://github.com/codeceptjs/CodeceptJS/issues/1350)] by **[gabrielcaires](https://github.com/gabrielcaires)** (https://github.com/codeceptjs/CodeceptJS/pull/1350)
|
|
634
641
|
* In interactive shell **[Enter]** goes to next step. Improvement by **[PeterNgTr](https://github.com/PeterNgTr)**.
|
|
635
642
|
* `I.say` accepts second parameter as color to print colorful comments. Improvement by **[PeterNgTr](https://github.com/PeterNgTr)**.
|
|
636
643
|
|
|
@@ -646,12 +653,12 @@ I.say('This is by default'); //cyan is used
|
|
|
646
653
|
|
|
647
654
|
* **[Puppeteer]** `dragSlider` action added by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
648
655
|
* **[Puppeteer]** Fixed opening browser in shell mode by **[allenhwkim](https://github.com/allenhwkim)**
|
|
649
|
-
* **[Puppeteer]** Fixed making screenshot on additional sessions by **[PeterNgTr](https://github.com/PeterNgTr)**. Fixes [#1266](https://github.com/
|
|
656
|
+
* **[Puppeteer]** Fixed making screenshot on additional sessions by **[PeterNgTr](https://github.com/PeterNgTr)**. Fixes [#1266](https://github.com/codeceptjs/CodeceptJS/issues/1266)
|
|
650
657
|
* Added `--invert` option to `run-multiple` command by **[LukoyanovE](https://github.com/LukoyanovE)**
|
|
651
658
|
* Fixed steps in Allure reports by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
652
659
|
* Add option `output` to customize output directory in [stepByStepReport plugin](https://codecept.io/plugins/#stepbystepreport). By **[fpsthirty](https://github.com/fpsthirty)**
|
|
653
660
|
* Changed type definition of PageObjects to get auto completion by **[rhicu](https://github.com/rhicu)**
|
|
654
|
-
* Fixed steps output for async/arrow functions in CLI by **[LukoyanovE](https://github.com/LukoyanovE)**. See [#1329](https://github.com/
|
|
661
|
+
* Fixed steps output for async/arrow functions in CLI by **[LukoyanovE](https://github.com/LukoyanovE)**. See [#1329](https://github.com/codeceptjs/CodeceptJS/issues/1329)
|
|
655
662
|
|
|
656
663
|
## 1.4.5
|
|
657
664
|
|
|
@@ -664,7 +671,7 @@ I.say('This is by default'); //cyan is used
|
|
|
664
671
|
```
|
|
665
672
|
|
|
666
673
|
* **[WebDriverIO]** Fix timeouts definition to be compatible with W3C drivers. By **[LukoyanovE](https://github.com/LukoyanovE)**
|
|
667
|
-
* Fixed: exception in Before block w/ Mocha causes test not to report failure. See [#1292](https://github.com/
|
|
674
|
+
* Fixed: exception in Before block w/ Mocha causes test not to report failure. See [#1292](https://github.com/codeceptjs/CodeceptJS/issues/1292) by **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
668
675
|
* Command `run-parallel` now accepts `--override` flag. Thanks to **[ClemCB](https://github.com/ClemCB)**
|
|
669
676
|
* Fixed Allure report with Before/BeforeSuite/After/AfterSuite steps. By **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
670
677
|
* Added `RUN_MULTIPLE` env variable to [Docker config](https://codecept.io/docker/). Allows to run tests in parallel inside a container. Thanks to **[PeterNgTr](https://github.com/PeterNgTr)**
|
|
@@ -695,7 +702,7 @@ Scenario('update user profile', () => {
|
|
|
695
702
|
|
|
696
703
|
* Fixed attaching Allure screenshot on exception. Fix by **[DevinWatson](https://github.com/DevinWatson)**
|
|
697
704
|
* Improved type definitions for custom steps. By **[Akxe](https://github.com/Akxe)**
|
|
698
|
-
* Fixed setting `multiple.parallel.chunks` as environment variable in config. See [#1238](https://github.com/
|
|
705
|
+
* Fixed setting `multiple.parallel.chunks` as environment variable in config. See [#1238](https://github.com/codeceptjs/CodeceptJS/issues/1238) by **[ngadiyak](https://github.com/ngadiyak)**
|
|
699
706
|
|
|
700
707
|
## 1.4.2
|
|
701
708
|
|
|
@@ -865,9 +872,9 @@ locate('//table')
|
|
|
865
872
|
|
|
866
873
|
* [Dynamic configuration](https://codecept.io/advanced/#dynamic-configuration) to update helpers config per test or per suite.
|
|
867
874
|
* Added `event.test.finished` which fires synchronously for both failed and passed tests.
|
|
868
|
-
* [WebDriverIO][Protractor][Nightmare][Puppeteer] Full page screenshots on failure disabled by default. See [issue[#1600](https://github.com/
|
|
875
|
+
* [WebDriverIO][Protractor][Nightmare][Puppeteer] Full page screenshots on failure disabled by default. See [issue[#1600](https://github.com/codeceptjs/CodeceptJS/issues/1600). You can enabled them with `fullPageScreenshots: true`, however they may work unstable in Selenium.
|
|
869
876
|
* `within` blocks can return values. See [updated documentation](https://codecept.io/basics/#within).
|
|
870
|
-
* Removed doublt call to `_init` in helpers. Fixes issue [#1036](https://github.com/
|
|
877
|
+
* Removed doublt call to `_init` in helpers. Fixes issue [#1036](https://github.com/codeceptjs/CodeceptJS/issues/1036)
|
|
871
878
|
* Added scenario and feature configuration via fluent API:
|
|
872
879
|
|
|
873
880
|
```js
|
|
@@ -1131,7 +1138,7 @@ I.dontSee('Email Address');
|
|
|
1131
1138
|
↑ This element can be located with `~foobar` in WebDriverIO and Appium helpers. Thanks to **[flyskywhy](https://github.com/flyskywhy)**
|
|
1132
1139
|
|
|
1133
1140
|
* Allow providing arbitrary objects in config includes by **[rlewan](https://github.com/rlewan)**
|
|
1134
|
-
* **[REST]** Prevent from mutating default headers by **[alexashley](https://github.com/alexashley)**. See [#789](https://github.com/
|
|
1141
|
+
* **[REST]** Prevent from mutating default headers by **[alexashley](https://github.com/alexashley)**. See [#789](https://github.com/codeceptjs/CodeceptJS/issues/789)
|
|
1135
1142
|
* **[REST]** Fixed sending empty helpers with `haveRequestHeaders` in `sendPostRequest`. By **[petrisorionel](https://github.com/petrisorionel)**
|
|
1136
1143
|
* Fixed displaying undefined args in output by **[APshenkin](https://github.com/APshenkin)**
|
|
1137
1144
|
* Fixed NaN instead of seconds in output by **[APshenkin](https://github.com/APshenkin)**
|
|
@@ -1143,7 +1150,7 @@ I.dontSee('Email Address');
|
|
|
1143
1150
|
## 1.0.3
|
|
1144
1151
|
|
|
1145
1152
|
* [WebDriverIO][Protractor][Nightmare] method `waitUntilExists` implemented by **[sabau](https://github.com/sabau)**
|
|
1146
|
-
* Absolute path can be set for `output` dir by **[APshenkin](https://github.com/APshenkin)**. Fix [#571](https://github.com/
|
|
1153
|
+
* Absolute path can be set for `output` dir by **[APshenkin](https://github.com/APshenkin)**. Fix [#571](https://github.com/codeceptjs/CodeceptJS/issues/571)* Data table rows can be ignored by using `xadd`. By **[APhenkin](https://github.com/APhenkin)**
|
|
1147
1154
|
* Added `Data(table).only.Scenario` to give ability to launch only Data tests. By **[APhenkin](https://github.com/APhenkin)**
|
|
1148
1155
|
* Implemented `ElementNotFound` error by **[BorisOsipov](https://github.com/BorisOsipov)**.
|
|
1149
1156
|
* Added TypeScript compiler / configs to check the JavaScript by **[KennyRules](https://github.com/KennyRules)**
|
|
@@ -1156,11 +1163,11 @@ I.dontSee('Email Address');
|
|
|
1156
1163
|
|
|
1157
1164
|
* Introduced generators support in scenario hooks for `BeforeSuite`/`Before`/`AfterSuite`/`After`
|
|
1158
1165
|
* **[ApiDataFactory]** Fixed loading helper; `requireg` package included.
|
|
1159
|
-
* Fix [#485](https://github.com/
|
|
1166
|
+
* Fix [#485](https://github.com/codeceptjs/CodeceptJS/issues/485)`run-multiple`: the first browser-resolution combination was be used in all configurations
|
|
1160
1167
|
* Fixed unique test names:
|
|
1161
|
-
* Fixed [#447](https://github.com/
|
|
1168
|
+
* Fixed [#447](https://github.com/codeceptjs/CodeceptJS/issues/447) tests failed silently if they have the same name as other tests.
|
|
1162
1169
|
* Use uuid in screenshot names when `uniqueScreenshotNames: true`
|
|
1163
|
-
* **[Protractor]** Fixed testing non-angular application. `amOutsideAngularApp` is executed before each step. Fixes [#458](https://github.com/
|
|
1170
|
+
* **[Protractor]** Fixed testing non-angular application. `amOutsideAngularApp` is executed before each step. Fixes [#458](https://github.com/codeceptjs/CodeceptJS/issues/458)* Added output for steps in hooks when they fail
|
|
1164
1171
|
|
|
1165
1172
|
## 1.0.1
|
|
1166
1173
|
|
|
@@ -1169,7 +1176,7 @@ I.dontSee('Email Address');
|
|
|
1169
1176
|
* Added [Mochawesome](http://codecept.io/helpers/Mochawesome/) helper
|
|
1170
1177
|
* `addMochawesomeContext` method to add custom data to mochawesome reports
|
|
1171
1178
|
* Fixed Mochawesome context for failed screenshots.
|
|
1172
|
-
* **[WebDriverIO]** improved click on context to match clickable element with a text inside. Fixes [#647](https://github.com/
|
|
1179
|
+
* **[WebDriverIO]** improved click on context to match clickable element with a text inside. Fixes [#647](https://github.com/codeceptjs/CodeceptJS/issues/647)* **[Nightmare]** Added `refresh` function by **[awhanks](https://github.com/awhanks)**
|
|
1173
1180
|
* fixed `Unhandled promise rejection (rejection id: 1): Error: Unknown wait type: pageLoad`
|
|
1174
1181
|
* support for tests with retries in html report
|
|
1175
1182
|
* be sure that change window size and timeouts completes before test
|
|
@@ -1234,16 +1241,16 @@ Next notable feature is **[SmartWait](http://codecept.io/acceptance/#smartwait)*
|
|
|
1234
1241
|
* Minimal NodeJS version is 6.11.1 LTS
|
|
1235
1242
|
* Use `within` command with generators.
|
|
1236
1243
|
* [Data Driven Tests](http://codecept.io/advanced/#data-driven-tests) introduced.
|
|
1237
|
-
* Print execution time per step in `--debug` mode. [#591](https://github.com/
|
|
1244
|
+
* Print execution time per step in `--debug` mode. [#591](https://github.com/codeceptjs/CodeceptJS/issues/591) by **[APshenkin](https://github.com/APshenkin)**
|
|
1238
1245
|
* [WebDriverIO][Protractor][Nightmare] Added `disableScreenshots` option to disable screenshots on fail by **[Apshenkin](https://github.com/Apshenkin)**
|
|
1239
1246
|
* [WebDriverIO][Protractor][Nightmare] Added `uniqueScreenshotNames` option to generate unique names for screenshots on failure by **[Apshenkin](https://github.com/Apshenkin)**
|
|
1240
1247
|
* [WebDriverIO][Nightmare] Fixed click on context; `click('text', '#el')` will throw exception if text is not found inside `#el`.
|
|
1241
1248
|
* [WebDriverIO][Protractor][SeleniumWebdriver] [SmartWait introduced](http://codecept.io/acceptance/#smartwait).
|
|
1242
|
-
* [WebDriverIO][Protractor][Nightmare]Fixed `saveScreenshot` for PhantomJS, `fullPageScreenshots` option introduced by **[HughZurname](https://github.com/HughZurname)** [#549](https://github.com/
|
|
1249
|
+
* [WebDriverIO][Protractor][Nightmare]Fixed `saveScreenshot` for PhantomJS, `fullPageScreenshots` option introduced by **[HughZurname](https://github.com/HughZurname)** [#549](https://github.com/codeceptjs/CodeceptJS/issues/549)
|
|
1243
1250
|
* **[Appium]** helper introduced by **[APshenkin](https://github.com/APshenkin)**
|
|
1244
|
-
* **[REST]** helper introduced by **[atrevino](https://github.com/atrevino)** in [#504](https://github.com/
|
|
1245
|
-
* [WebDriverIO][SeleniumWebdriver] Fixed "windowSize": "maximize" for Chrome 59+ version [#560](https://github.com/
|
|
1246
|
-
* **[Nightmare]** Fixed restarting by **[APshenkin](https://github.com/APshenkin)** [#581](https://github.com/
|
|
1251
|
+
* **[REST]** helper introduced by **[atrevino](https://github.com/atrevino)** in [#504](https://github.com/codeceptjs/CodeceptJS/issues/504)
|
|
1252
|
+
* [WebDriverIO][SeleniumWebdriver] Fixed "windowSize": "maximize" for Chrome 59+ version [#560](https://github.com/codeceptjs/CodeceptJS/issues/560) by **[APshenkin](https://github.com/APshenkin)**
|
|
1253
|
+
* **[Nightmare]** Fixed restarting by **[APshenkin](https://github.com/APshenkin)** [#581](https://github.com/codeceptjs/CodeceptJS/issues/581)
|
|
1247
1254
|
* **[WebDriverIO]** Methods added by **[APshenkin](https://github.com/APshenkin)**:
|
|
1248
1255
|
* [grabCssPropertyFrom](http://codecept.io/helpers/WebDriverIO/#grabcsspropertyfrom)
|
|
1249
1256
|
* [seeTitleEquals](http://codecept.io/helpers/WebDriverIO/#seetitleequals)
|
|
@@ -1263,10 +1270,10 @@ Next notable feature is **[SmartWait](http://codecept.io/acceptance/#smartwait)*
|
|
|
1263
1270
|
* [scrollPageToBottom](http://codecept.io/helpers/WebDriverIO/#scrollpagetobottom)
|
|
1264
1271
|
* [scrollPageToTop](http://codecept.io/helpers/WebDriverIO/#scrollpagetotop)
|
|
1265
1272
|
* [grabBrowserLogs](http://codecept.io/helpers/WebDriverIO/#grabbrowserlogs)
|
|
1266
|
-
* Use mkdirp to create output directory. [#592](https://github.com/
|
|
1267
|
-
* **[WebDriverIO]** Fixed `seeNumberOfVisibleElements` by **[BorisOsipov](https://github.com/BorisOsipov)** [#574](https://github.com/
|
|
1268
|
-
* Lots of fixes for promise chain by **[APshenkin](https://github.com/APshenkin)** [#568](https://github.com/
|
|
1269
|
-
* Fix [#543](https://github.com/
|
|
1273
|
+
* Use mkdirp to create output directory. [#592](https://github.com/codeceptjs/CodeceptJS/issues/592) by **[vkramskikh](https://github.com/vkramskikh)**
|
|
1274
|
+
* **[WebDriverIO]** Fixed `seeNumberOfVisibleElements` by **[BorisOsipov](https://github.com/BorisOsipov)** [#574](https://github.com/codeceptjs/CodeceptJS/issues/574)
|
|
1275
|
+
* Lots of fixes for promise chain by **[APshenkin](https://github.com/APshenkin)** [#568](https://github.com/codeceptjs/CodeceptJS/issues/568)
|
|
1276
|
+
* Fix [#543](https://github.com/codeceptjs/CodeceptJS/issues/543)- After block not properly executed if Scenario fails
|
|
1270
1277
|
* Expected behavior in promise chains: `_beforeSuite` hooks from helpers -> `BeforeSuite` from test -> `_before` hooks from helpers -> `Before` from test - > Test steps -> `_failed` hooks from helpers (if test failed) -> `After` from test -> `_after` hooks from helpers -> `AfterSuite` from test -> `_afterSuite` hook from helpers.
|
|
1271
1278
|
* if during test we got errors from any hook (in test or in helper) - stop complete this suite and go to another
|
|
1272
1279
|
* if during test we got error from Selenium server - stop complete this suite and go to another
|
|
@@ -1274,7 +1281,7 @@ Next notable feature is **[SmartWait](http://codecept.io/acceptance/#smartwait)*
|
|
|
1274
1281
|
* Complete `_after`, `_afterSuite` hooks even After/AfterSuite from test was failed
|
|
1275
1282
|
* Don't close browser between suites, when `restart` option is false. We should start browser only one time and close it only after all tests.
|
|
1276
1283
|
* Close tabs and clear local storage, if `keepCookies` flag is enabled
|
|
1277
|
-
* Fix TypeError when using babel-node or ts-node on node.js 7+ [#586](https://github.com/
|
|
1284
|
+
* Fix TypeError when using babel-node or ts-node on node.js 7+ [#586](https://github.com/codeceptjs/CodeceptJS/issues/586) by **[vkramskikh](https://github.com/vkramskikh)**
|
|
1278
1285
|
* **[Nightmare]** fixed usage of `_locate`
|
|
1279
1286
|
|
|
1280
1287
|
Special thanks to **Andrey Pshenkin** for his work on this release and the major improvements.
|
|
@@ -1290,9 +1297,9 @@ Scenario('My scenario', { build_id: 123, type: 'slow' }, function (I)
|
|
|
1290
1297
|
those options can be accessed as `opts` property inside a `test` object. Can be used in custom listeners.
|
|
1291
1298
|
|
|
1292
1299
|
* Added `docs` directory to a package.
|
|
1293
|
-
* [WebDriverIO][Protractor][SeleniumWebdriver] Bugfix: cleaning session when `restart: false` by **[tfiwm](https://github.com/tfiwm)** [#519](https://github.com/
|
|
1300
|
+
* [WebDriverIO][Protractor][SeleniumWebdriver] Bugfix: cleaning session when `restart: false` by **[tfiwm](https://github.com/tfiwm)** [#519](https://github.com/codeceptjs/CodeceptJS/issues/519)
|
|
1294
1301
|
* [WebDriverIO][Protractor][Nightmare] Added second parameter to `saveScreenshot` to allow a full page screenshot. By **[HughZurname](https://github.com/HughZurname)**
|
|
1295
|
-
* Added suite object to `suite.before` and `suite.after` events by **[implico](https://github.com/implico)**. [#496](https://github.com/
|
|
1302
|
+
* Added suite object to `suite.before` and `suite.after` events by **[implico](https://github.com/implico)**. [#496](https://github.com/codeceptjs/CodeceptJS/issues/496)
|
|
1296
1303
|
|
|
1297
1304
|
## 0.6.2
|
|
1298
1305
|
|
|
@@ -1361,8 +1368,8 @@ codeceptjs run users_test.js -c tests
|
|
|
1361
1368
|
## 0.5.0
|
|
1362
1369
|
|
|
1363
1370
|
* Protractor ^5.0.0 support (while keeping ^4.0.9 compatibility)
|
|
1364
|
-
* Fix 'fullTitle() is not a function' in exit.js by **[hubidu](https://github.com/hubidu)**. See [#388](https://github.com/
|
|
1365
|
-
* **[Nightmare]** Fix for `waitTimeout` by **[HughZurname](https://github.com/HughZurname)**. See [#391](https://github.com/
|
|
1371
|
+
* Fix 'fullTitle() is not a function' in exit.js by **[hubidu](https://github.com/hubidu)**. See [#388](https://github.com/codeceptjs/CodeceptJS/issues/388).
|
|
1372
|
+
* **[Nightmare]** Fix for `waitTimeout` by **[HughZurname](https://github.com/HughZurname)**. See [#391](https://github.com/codeceptjs/CodeceptJS/issues/391). Resolves [#236](https://github.com/codeceptjs/CodeceptJS/issues/236)* Dockerized CodeceptJS setup by **[artiomnist](https://github.com/artiomnist)**. [See reference](https://github.com/codeceptjs/CodeceptJS/blob/master/docker/README.md)
|
|
1366
1373
|
|
|
1367
1374
|
## 0.4.16
|
|
1368
1375
|
|
|
@@ -1444,7 +1451,7 @@ Scenario('Not that complex', {timeout: 1000}, (I) => {
|
|
|
1444
1451
|
});
|
|
1445
1452
|
```
|
|
1446
1453
|
|
|
1447
|
-
* **[WebDriverIO]** Added `uniqueScreenshotNames` option to set unique screenshot names for failed tests. By **[APshenkin](https://github.com/APshenkin)**. See [#299](https://github.com/
|
|
1454
|
+
* **[WebDriverIO]** Added `uniqueScreenshotNames` option to set unique screenshot names for failed tests. By **[APshenkin](https://github.com/APshenkin)**. See [#299](https://github.com/codeceptjs/CodeceptJS/issues/299)
|
|
1448
1455
|
* **[WebDriverIO]** `clearField` method improved to accept name/label locators and throw errors.
|
|
1449
1456
|
* [Nightmare][SeleniumWebdriver][Protractor] `clearField` method added.
|
|
1450
1457
|
* **[Nightmare]** Fixed `waitForElement`, and `waitForVisible` methods.
|
|
@@ -1466,7 +1473,7 @@ codeceptjs run -o '{ "helpers": {"WebDriverIO": {"browser": "chrome"}}}'
|
|
|
1466
1473
|
## 0.4.11
|
|
1467
1474
|
|
|
1468
1475
|
* Fixed regression in 0.4.10
|
|
1469
|
-
* Added `bootstrap`/`teardown` config options to accept functions as parameters by **[pscanf](https://github.com/pscanf)**. See updated [config reference](http://codecept.io/configuration/) [#319](https://github.com/
|
|
1476
|
+
* Added `bootstrap`/`teardown` config options to accept functions as parameters by **[pscanf](https://github.com/pscanf)**. See updated [config reference](http://codecept.io/configuration/) [#319](https://github.com/codeceptjs/CodeceptJS/issues/319)
|
|
1470
1477
|
|
|
1471
1478
|
## 0.4.10
|
|
1472
1479
|
|
|
@@ -1481,26 +1488,26 @@ module.exports = function(done) {
|
|
|
1481
1488
|
}
|
|
1482
1489
|
```
|
|
1483
1490
|
|
|
1484
|
-
* Changed 'pending' to 'skipped' in reports by **[timja-kainos](https://github.com/timja-kainos)**. See [#315](https://github.com/
|
|
1491
|
+
* Changed 'pending' to 'skipped' in reports by **[timja-kainos](https://github.com/timja-kainos)**. See [#315](https://github.com/codeceptjs/CodeceptJS/issues/315)
|
|
1485
1492
|
|
|
1486
1493
|
## 0.4.9
|
|
1487
1494
|
|
|
1488
1495
|
* [SeleniumWebdriver][Protractor][WebDriverIO][Nightmare] fixed `executeScript`, `executeAsyncScript` to work and return values.
|
|
1489
1496
|
* [Protractor][SeleniumWebdriver][WebDriverIO] Added `waitForInvisible` and `waitForStalenessOf` methods by **[Nighthawk14](https://github.com/Nighthawk14)**.
|
|
1490
1497
|
* Added `--config` option to `codeceptjs run` to manually specify config file by **[cnworks](https://github.com/cnworks)**
|
|
1491
|
-
* **[Protractor]** Simplified behavior of `amOutsideAngularApp` by using `ignoreSynchronization`. Fixes [#278](https://github.com/
|
|
1492
|
-
* Set exit code to 1 when test fails at `Before`/`After` hooks. Fixes [#279](https://github.com/
|
|
1498
|
+
* **[Protractor]** Simplified behavior of `amOutsideAngularApp` by using `ignoreSynchronization`. Fixes [#278](https://github.com/codeceptjs/CodeceptJS/issues/278)
|
|
1499
|
+
* Set exit code to 1 when test fails at `Before`/`After` hooks. Fixes [#279](https://github.com/codeceptjs/CodeceptJS/issues/279)
|
|
1493
1500
|
|
|
1494
1501
|
|
|
1495
1502
|
## 0.4.8
|
|
1496
1503
|
|
|
1497
1504
|
* [Protractor][SeleniumWebdriver][Nightmare] added `moveCursorTo` method.
|
|
1498
|
-
* [Protractor][SeleniumWebdriver][WebDriverIO] Added `manualStart` option to start browser manually in the beginning of test. By **[cnworks](https://github.com/cnworks)**. [PR[#250](https://github.com/
|
|
1505
|
+
* [Protractor][SeleniumWebdriver][WebDriverIO] Added `manualStart` option to start browser manually in the beginning of test. By **[cnworks](https://github.com/cnworks)**. [PR[#250](https://github.com/codeceptjs/CodeceptJS/issues/250)
|
|
1499
1506
|
* Fixed `codeceptjs init` to work with nested directories and file masks.
|
|
1500
1507
|
* Fixed `codeceptjs gt` to generate test with proper file name suffix. By **[Zougi](https://github.com/Zougi)**.
|
|
1501
1508
|
* **[Nightmare]** Fixed: Error is thrown when clicking on element which can't be locate. By **[davetmik](https://github.com/davetmik)**
|
|
1502
1509
|
* **[WebDriverIO]** Fixed `attachFile` for file upload. By **[giuband](https://github.com/giuband)** and **[davetmik](https://github.com/davetmik)**
|
|
1503
|
-
* **[WebDriverIO]** Add support for timeouts in config and with `defineTimeouts` method. By **[easternbloc](https://github.com/easternbloc)** [#258](https://github.com/
|
|
1510
|
+
* **[WebDriverIO]** Add support for timeouts in config and with `defineTimeouts` method. By **[easternbloc](https://github.com/easternbloc)** [#258](https://github.com/codeceptjs/CodeceptJS/issues/258) and [#267](https://github.com/codeceptjs/CodeceptJS/issues/267) by **[davetmik](https://github.com/davetmik)**
|
|
1504
1511
|
* Fixed hanging of CodeceptJS when error is thrown by event dispatcher. Fix by **[Zougi](https://github.com/Zougi)** and **[davetmik](https://github.com/davetmik)**
|
|
1505
1512
|
|
|
1506
1513
|
|
|
@@ -1517,7 +1524,7 @@ module.exports = function(done) {
|
|
|
1517
1524
|
## 0.4.5
|
|
1518
1525
|
|
|
1519
1526
|
* Fixed running `codecept def` command by **[jankaspar](https://github.com/jankaspar)**
|
|
1520
|
-
* [Protractor][SeleniumWebdriver] Added support for special keys in `pressKey` method. Fixes [#216](https://github.com/
|
|
1527
|
+
* [Protractor][SeleniumWebdriver] Added support for special keys in `pressKey` method. Fixes [#216](https://github.com/codeceptjs/CodeceptJS/issues/216)
|
|
1521
1528
|
|
|
1522
1529
|
## 0.4.4
|
|
1523
1530
|
|
|
@@ -1544,7 +1551,7 @@ exports.config = {
|
|
|
1544
1551
|
|
|
1545
1552
|
## 0.4.2
|
|
1546
1553
|
|
|
1547
|
-
* Added ability to localize tests with translation [#189](https://github.com/
|
|
1554
|
+
* Added ability to localize tests with translation [#189](https://github.com/codeceptjs/CodeceptJS/issues/189). Thanks to **[abner](https://github.com/abner)**
|
|
1548
1555
|
* **[Translation]** ru-RU translation added.
|
|
1549
1556
|
* **[Translation]** pt-BR translation added.
|
|
1550
1557
|
* **[Protractor]** Protractor 4.0.4 compatibility.
|
|
@@ -1555,8 +1562,8 @@ exports.config = {
|
|
|
1555
1562
|
|
|
1556
1563
|
## 0.4.1
|
|
1557
1564
|
|
|
1558
|
-
* Added custom steps to step definition list. See [#174](https://github.com/
|
|
1559
|
-
* **[WebDriverIO]** Fixed using `waitForTimeout` option by **[stephane-ruhlmann](https://github.com/stephane-ruhlmann)**. See [#178](https://github.com/
|
|
1565
|
+
* Added custom steps to step definition list. See [#174](https://github.com/codeceptjs/CodeceptJS/issues/174) by **[jayS-de](https://github.com/jayS-de)**
|
|
1566
|
+
* **[WebDriverIO]** Fixed using `waitForTimeout` option by **[stephane-ruhlmann](https://github.com/stephane-ruhlmann)**. See [#178](https://github.com/codeceptjs/CodeceptJS/issues/178)
|
|
1560
1567
|
|
|
1561
1568
|
## 0.4.0
|
|
1562
1569
|
|
|
@@ -1596,7 +1603,7 @@ Depending on installation type additional modules (webdriverio, protractor, ...)
|
|
|
1596
1603
|
* [Protractor][SeleniumWebdriver] fixed closing browser instances
|
|
1597
1604
|
* [Protractor][SeleniumWebdriver] `doubleClick` method added
|
|
1598
1605
|
* [WebDriverIO][Protractor][SeleniumWebdriver] `doubleClick` method to locate clickable elements by text, `context` option added.
|
|
1599
|
-
* Fixed using assert in generator without yields [#89](https://github.com/
|
|
1606
|
+
* Fixed using assert in generator without yields [#89](https://github.com/codeceptjs/CodeceptJS/issues/89)
|
|
1600
1607
|
|
|
1601
1608
|
## 0.3.1
|
|
1602
1609
|
|
|
@@ -1616,8 +1623,8 @@ Starting from 0.3.0 webdriverio is not the only backend for running selenium tes
|
|
|
1616
1623
|
* **[WebDriverIO]** fixed `windowSize: maximize` option in config
|
|
1617
1624
|
* **[WebDriverIO]** `seeElement` and `dontSeeElement` check element for visibility by **[fabioel](https://github.com/fabioel)** and **[davertmik](https://github.com/davertmik)**
|
|
1618
1625
|
* **[WebDriverIO]** `seeElementInDOM`, `dontSeeElementInDOM` added to check element exists on page.
|
|
1619
|
-
* **[WebDriverIO]** fixed saving screenshots on failure. Fixes [#70](https://github.com/
|
|
1620
|
-
* fixed `within` block doesn't end in output not [#79](https://github.com/
|
|
1626
|
+
* **[WebDriverIO]** fixed saving screenshots on failure. Fixes [#70](https://github.com/codeceptjs/CodeceptJS/issues/70)
|
|
1627
|
+
* fixed `within` block doesn't end in output not [#79](https://github.com/codeceptjs/CodeceptJS/issues/79)
|
|
1621
1628
|
|
|
1622
1629
|
|
|
1623
1630
|
## 0.2.8
|
|
@@ -1626,20 +1633,20 @@ Starting from 0.3.0 webdriverio is not the only backend for running selenium tes
|
|
|
1626
1633
|
|
|
1627
1634
|
## 0.2.7
|
|
1628
1635
|
|
|
1629
|
-
* process ends with exit code 1 on error or failure [#49](https://github.com/
|
|
1630
|
-
* fixed registereing global Helper [#57](https://github.com/
|
|
1631
|
-
* fixed handling error in within block [#50](https://github.com/
|
|
1636
|
+
* process ends with exit code 1 on error or failure [#49](https://github.com/codeceptjs/CodeceptJS/issues/49)
|
|
1637
|
+
* fixed registereing global Helper [#57](https://github.com/codeceptjs/CodeceptJS/issues/57)
|
|
1638
|
+
* fixed handling error in within block [#50](https://github.com/codeceptjs/CodeceptJS/issues/50)
|
|
1632
1639
|
|
|
1633
1640
|
## 0.2.6
|
|
1634
1641
|
|
|
1635
1642
|
* Fixed `done() was called multiple times`
|
|
1636
1643
|
* **[WebDriverIO]** added `waitToHide` method by **[fabioel](https://github.com/fabioel)**
|
|
1637
|
-
* Added global `Helper` (alias `codecept_helper)`, object use for writing custom Helpers. Generator updated. Changes to [#48](https://github.com/
|
|
1644
|
+
* Added global `Helper` (alias `codecept_helper)`, object use for writing custom Helpers. Generator updated. Changes to [#48](https://github.com/codeceptjs/CodeceptJS/issues/48)
|
|
1638
1645
|
|
|
1639
1646
|
## 0.2.5
|
|
1640
1647
|
|
|
1641
|
-
* Fixed issues with using yield inside a test [#45](https://github.com/
|
|
1642
|
-
* Fixed generating a custom helper. Helper class is now accessible with `codecept_helper` var. Fixes [#48](https://github.com/
|
|
1648
|
+
* Fixed issues with using yield inside a test [#45](https://github.com/codeceptjs/CodeceptJS/issues/45) [#47](https://github.com/codeceptjs/CodeceptJS/issues/47) [#43](https://github.com/codeceptjs/CodeceptJS/issues/43)
|
|
1649
|
+
* Fixed generating a custom helper. Helper class is now accessible with `codecept_helper` var. Fixes [#48](https://github.com/codeceptjs/CodeceptJS/issues/48)
|
|
1643
1650
|
|
|
1644
1651
|
## 0.2.4
|
|
1645
1652
|
|
|
@@ -1672,7 +1679,7 @@ Whenever you need to create `I` object (in page objects, custom steps, but not i
|
|
|
1672
1679
|
- mouse: `rightClick`
|
|
1673
1680
|
* tests added
|
|
1674
1681
|
* **[WebDriverIO]** proxy configuration added by **[petehouston](https://github.com/petehouston)**
|
|
1675
|
-
* **[WebDriverIO]** fixed `waitForText` method by **[roadhump](https://github.com/roadhump)**. Fixes [#11](https://github.com/
|
|
1682
|
+
* **[WebDriverIO]** fixed `waitForText` method by **[roadhump](https://github.com/roadhump)**. Fixes [#11](https://github.com/codeceptjs/CodeceptJS/issues/11)
|
|
1676
1683
|
* Fixed creating output dir when it already exists on init by **[alfirin](https://github.com/alfirin)**
|
|
1677
1684
|
* Fixed loading of custom helpers
|
|
1678
1685
|
|