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
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
## 1.3.1
2
+
3
+
*[Puppeteer] Fixed process hanging for 30 seconds. Page loading timeout default via `getPageTimeout` set 0 seconds.
4
+
*[Puppeteer] Improved displaying client-side console messages in debug mode.
5
+
*[Puppeteer] Fixed closing sessions in `restart:false` mode for multi-session mode.
6
+
1
7
## 1.3.0
2
8
3
9
***Cucumber-style BDD Introduced [Gherkin support](https://codecept.io/bdd). Thanks to [David Vins](https://github.com/dvins) and [Omedym](https://www.omedym.com) for sponsoring this feature**.
@@ -30,6 +36,8 @@ Run it with `--features --steps` flag:
30
36
codeceptjs run --steps --features
31
37
```
32
38
39
+
---
40
+
33
41
***Brekaing Chnage**`run` command now uses relative path + test name to run exactly one test file.
34
42
35
43
Previous behavior (removed):
@@ -43,6 +51,7 @@ codeceptjs run tests/basic_test.js
43
51
```
44
52
This change allows using auto-completion when running a specific test.
45
53
54
+
---
46
55
47
56
* Nested steps output enabled for page objects.
48
57
* to see high-level steps only run tests with `--steps` flag.
Copy file name to clipboardExpand all lines: docs/bdd.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -71,13 +71,13 @@ Every step in this scenario requires a code which defines it.
71
71
72
72
## Gherkin
73
73
74
-
Let's learn some more about Gherkin format and then we will see how to execute it with CodeceptJS. We can enable Gherkin for current project by running `gherkin:init` command:
74
+
Let's learn some more about Gherkin format and then we will see how to execute it with CodeceptJS. We can enable Gherkin for current project by running `gherkin:init` command on **already initialized project**:
75
75
76
76
```
77
77
codeceptjs gherkin:init
78
78
```
79
79
80
-
It will add `gherkin` section to config. It will also prepare directories for features and step definition. And it will create the first feature file for you.
80
+
It will add `gherkin` section to the current config. It will also prepare directories for features and step definition. And it will create the first feature file for you.
@@ -49,8 +49,8 @@ const consoleLogStore = new Console();
49
49
* * `keepBrowserState`: (optional, default: false) - keep browser state between tests when `restart` is set to false.
50
50
* * `keepCookies`: (optional, default: false) - keep cookies between tests when `restart` is set to false.
51
51
* * `waitForAction`: (optional) how long to wait after click, doubleClick or PressKey actions in ms. Default: 100.
52
-
* * `waitForNavigation`: (optional, default: 'load'). When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle0`, `networkidle2`. See [Puppeteer API](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagewaitfornavigationoptions)
53
-
* * `getPageTimeout` (optional, default: '30000') config option to set maximum navigation time in milliseconds. Default is 30 seconds. Pass 0 to disable timeout.
52
+
* * `waitForNavigation`: (optional, default: 'load'). When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle0`, `networkidle2`. See [Puppeteer API](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagewaitfornavigationoptions). Array values are accepted as well.
53
+
* * `getPageTimeout` (optional, default: '0') config option to set maximum navigation time in milliseconds.
0 commit comments