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
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,41 @@
1
+
## 2.3.0
2
+
3
+
*[GraphQL][GraphQLDataFactory]**Helpers for data management over GraphQL** APIs added. By @radhey1851.
4
+
* Learn how to [use GraphQL helper](https://codecept.io/data#graphql) to access GarphQL API
5
+
* And how to combine it with [GraphQLDataFactory](https://codecept.io/data#graphql-data-factory) to generate and persist test data.
6
+
***Updated to use Mocha 6**. See #1802 by @elukoyanov
7
+
***Parallel testing by workers introduced** by @VikalpP and @davertmik. Use `run-workers` command as faster and simpler alternative to `run-multiple`. Requires NodeJS v12
8
+
9
+
```
10
+
# run all tests in parallel using 3 workers
11
+
npx codeceptjs run-workers 3
12
+
```
13
+
14
+
* 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 for more details.
15
+
16
+
```
17
+
npx codeceptjs dry-run
18
+
```
19
+
20
+
*[Appium] Optimization when clicking, searching for fields by accessibility id. See #1777 by @gagandeepsingh26
21
+
*[TestCafe] Fixed `switchTo` by @KadoBOT
22
+
*[WebDrover] Added geolocation actions by @PeterNgTr
23
+
*`grabGeoLocation()`
24
+
*`setGeoLocation()`
25
+
*[Polly] Check typeof arguments for mock requests by @VikalpP. Fixes #1815
26
+
* CLI improvements by @jamesgeorge007
27
+
*`codeceptjs` command prints list of all available commands
28
+
* added `codeceptjs -V` flag to print version information
29
+
* warns on unknown command
30
+
* Added TypeScript files support to `run-multiple` by @z4o4z
31
+
* Fixed element position bug in locator builder. See #1829 by @AnotherAnkor
32
+
* Various TypeScript typings updates by @elukoyanov and @Vorobeyko
33
+
* Added `event.step.comment` event for all comment steps like `I.say` or gherking steps.
34
+
1
35
## 2.2.1
2
36
3
37
*[WebDriver] A [dedicated guide](https://codecept.io/webdriver) written.
4
-
*[TestCade] A [dedicated guide](https://codecept.io/testcafe) written.
38
+
*[TestCafe] A [dedicated guide](https://codecept.io/testcafe) written.
5
39
*[Puppeteer] A [chapter on mocking](https://codecept.io/puppeteer#mocking-requests) written
6
40
*[Puppeteer][Nightmare][TestCafe] Window mode is enabled by default on `codeceptjs init`.
Copy file name to clipboardExpand all lines: docs/changelog.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,27 @@ id: changelog
3
3
title: Releases
4
4
---
5
5
6
+
## 2.3.0
7
+
8
+
*[GraphQL][GraphQLDataFactory] Helpers introduced for **data management over GraphQL** APIs. By **[radhey1851](https://github.com/radhey1851)**.
9
+
* Learn how to [use GraphQL helper docs](https://codecept.io/data#graphql)
10
+
* And how to combine it with **[GraphQLDataFactory]** * **Updated to use Mocha 6**. See [#1802](https://github.com/Codeception/CodeceptJS/issues/1802) by **[elukoyanov](https://github.com/elukoyanov)**
11
+
***[Appium]** Optimization when clicking, searching for fields by accessibility id. See [#1777](https://github.com/Codeception/CodeceptJS/issues/1777) by **[gagandeepsingh26](https://github.com/gagandeepsingh26)**
12
+
***[TestCafe]** Fixed `switchTo` by **[KadoBOT](https://github.com/KadoBOT)**
13
+
***[WebDrover]** Added geolocation actions by **[PeterNgTr](https://github.com/PeterNgTr)**
14
+
*`grabGeoLocation()`
15
+
*`setGeoLocation()`
16
+
***[Polly]** Check typeof arguments for mock requests by **[VikalpP](https://github.com/VikalpP)**. Fixes [#1815](https://github.com/Codeception/CodeceptJS/issues/1815)
17
+
* CLI improvements by **[jamesgeorge007](https://github.com/jamesgeorge007)**
18
+
*`codeceptjs` command prints list of all available commands
19
+
* added `codeceptjs -V` flag to print version information
20
+
* warns on unknown command
21
+
6
22
## 2.2.1
7
23
8
24
***[WebDriver]** A [dedicated guide](https://codecept.io/webdriver) written.
9
25
***[TestCafe]** A [dedicated guide](https://codecept.io/testcafe) written.
10
-
***[Puppeteer]** A [chapter on mocking](https://codecept.io/puppeteer#mocking) written
26
+
***[Puppeteer]** A [chapter on mocking](https://codecept.io/puppeteer#mocking-requests) written
11
27
*[Puppeteer][Nightmare][TestCafe] Window mode is enabled by default on `codeceptjs init`.
12
28
***[TestCafe]** Actions implemented by **[hubidu](https://github.com/hubidu)**
13
29
*`grabPageScrollPosition`
@@ -31,7 +47,6 @@ title: Releases
31
47
* Fix `--path` option on `gherkin:snippets` command by **[asselin](https://github.com/asselin)**. See [#1790](https://github.com/Codeception/CodeceptJS/issues/1790)
32
48
* Added `--feature` option to `gherkin:snippets` to enable creating snippets for a subset of .feature files. See [#1803](https://github.com/Codeception/CodeceptJS/issues/1803) by **[asselin](https://github.com/asselin)**.
33
49
* Fixed: dynamic configs not reset after test. Fixes [#1776](https://github.com/Codeception/CodeceptJS/issues/1776) by **[cviejo](https://github.com/cviejo)**.
34
-
* allurePlugin - fixed displaying ANSI chars in reports by **[Vorobeyko](https://github.com/Vorobeyko)**
Copy file name to clipboardExpand all lines: docs/helpers/Appium.md
+42-1Lines changed: 42 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ This helper should be configured in codecept.json or codecept.conf.js
44
44
-`app` - The absolute local path or remote http URL to an .ipa or .apk file, or a .zip containing one of these. Appium will attempt to install this app binary on the appropriate device first.
45
45
-`browserName`: Name of mobile web browser to automate. Should be an empty string if automating an app instead.
46
46
47
-
Example:
47
+
Example Android App:
48
48
49
49
```js
50
50
{
@@ -62,6 +62,47 @@ Example:
62
62
}
63
63
```
64
64
65
+
Example iOS Mobile Web with local Appium:
66
+
67
+
```js
68
+
{
69
+
helpers: {
70
+
Appium: {
71
+
platform:"iOS",
72
+
url:"https://the-internet.herokuapp.com/",
73
+
desiredCapabilities: {
74
+
deviceName:"iPhone X",
75
+
platformVersion:"12.0",
76
+
browserName:"safari"
77
+
}
78
+
}
79
+
}
80
+
}
81
+
```
82
+
83
+
Example iOS Mobile Web on BrowserStack:
84
+
85
+
```js
86
+
{
87
+
helpers: {
88
+
Appium: {
89
+
host:"hub-cloud.browserstack.com",
90
+
port:4444,
91
+
user:process.env.BROWSERSTACK_USER,
92
+
key:process.env.BROWSERSTACK_KEY,
93
+
platform:"iOS",
94
+
url:"https://the-internet.herokuapp.com/",
95
+
desiredCapabilities: {
96
+
realMobile:"true",
97
+
device:"iPhone 8",
98
+
os_version:"12",
99
+
browserName:"safari"
100
+
}
101
+
}
102
+
}
103
+
}
104
+
```
105
+
65
106
Additional configuration params can be used from [https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md][3]
0 commit comments