codeceptjs 3.5.2 → 3.5.4-beta.1
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/README.md +4 -5
- package/docs/basics.md +1 -2
- package/docs/build/Playwright.js +461 -0
- package/docs/changelog.md +0 -7
- package/docs/custom-helpers.md +2 -2
- package/docs/data.md +6 -2
- package/docs/docker.md +2 -3
- package/docs/helpers/Playwright.md +305 -153
- package/docs/installation.md +1 -1
- package/docs/mobile.md +0 -2
- package/docs/plugins.md +0 -2
- package/docs/quickstart.md +0 -1
- package/docs/testcafe.md +1 -1
- package/docs/webdriver.md +0 -2
- package/lib/command/init.js +1 -1
- package/lib/helper/Playwright.js +562 -136
- package/lib/helper/extras/PlaywrightReact.js +9 -0
- package/lib/plugin/standardActingHelpers.js +0 -2
- package/lib/plugin/wdio.js +0 -1
- package/lib/recorder.js +2 -1
- package/package.json +5 -7
- package/typings/index.d.ts +0 -1
- package/typings/promiseBasedTypes.d.ts +127 -0
- package/typings/types.d.ts +127 -25
- package/docs/helpers/Nightmare.md +0 -1258
- package/docs/nightmare.md +0 -223
- package/lib/helper/Nightmare.js +0 -1410
- package/lib/helper/Protractor.js +0 -1832
- package/lib/helper/clientscripts/nightmare.js +0 -213
package/docs/installation.md
CHANGED
|
@@ -59,7 +59,7 @@ For WebDriver installation Selenium Server is required 👇
|
|
|
59
59
|
|
|
60
60
|
## WebDriver
|
|
61
61
|
|
|
62
|
-
WebDriver based helpers like WebDriver
|
|
62
|
+
WebDriver based helpers like WebDriver will require [Selenium Server](https://codecept.io/helpers/WebDriver/#selenium-installation) installed. They will also require ChromeDriver or GeckoDriver to run corresponding browsers.
|
|
63
63
|
|
|
64
64
|
We recommend to install them manually or use NPM packages:
|
|
65
65
|
|
package/docs/mobile.md
CHANGED
package/docs/plugins.md
CHANGED
package/docs/quickstart.md
CHANGED
package/docs/testcafe.md
CHANGED
|
@@ -5,7 +5,7 @@ title: Testing with TestCafe
|
|
|
5
5
|
|
|
6
6
|
# Testing with TestCafe
|
|
7
7
|
|
|
8
|
-
[TestCafe](https://devexpress.github.io/testcafe/) is another alternative engine for driving browsers. It is driven by unique technology which provides fast and simple cross browser testing for desktop and mobile browsers. Unlike WebDriver or Puppeteer, TestCafe doesn't control a browser at all. It is not a browser itself, like
|
|
8
|
+
[TestCafe](https://devexpress.github.io/testcafe/) is another alternative engine for driving browsers. It is driven by unique technology which provides fast and simple cross browser testing for desktop and mobile browsers. Unlike WebDriver or Puppeteer, TestCafe doesn't control a browser at all. It is not a browser itself, like Cypress. **TestCafe core is a proxy server** that runs behind the scene, and transforms all HTML and JS to include code that is needed for test automation.
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
package/docs/webdriver.md
CHANGED
|
@@ -21,8 +21,6 @@ Let's clarify the terms:
|
|
|
21
21
|
|
|
22
22
|
We use [webdriverio](https://webdriver.io) library to run tests over WebDriver.
|
|
23
23
|
|
|
24
|
-
> Popular tool [Protractor](/angular) also uses WebDriver for running end 2 end tests.
|
|
25
|
-
|
|
26
24
|
To proceed you need to have [CodeceptJS installed](/quickstart#using-selenium-webdriver) and `WebDriver` helper selected.
|
|
27
25
|
|
|
28
26
|
Selenium WebDriver may be complicated from start, as it requires following tools to be installed and started.
|
package/lib/command/init.js
CHANGED
|
@@ -20,7 +20,7 @@ const defaultConfig = {
|
|
|
20
20
|
include: {},
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
const helpers = ['Playwright', 'WebDriver', 'Puppeteer', 'REST', 'GraphQL', 'Appium', 'TestCafe'
|
|
23
|
+
const helpers = ['Playwright', 'WebDriver', 'Puppeteer', 'REST', 'GraphQL', 'Appium', 'TestCafe'];
|
|
24
24
|
const translations = Object.keys(require('../../translations'));
|
|
25
25
|
|
|
26
26
|
const noTranslation = 'English (no localization)';
|