Skip to content

Commit

Permalink
Rebase master to 3.0 (#2547)
Browse files Browse the repository at this point in the history
* updated docs

* release 2.6.5

* Fix valid data output (w3) (#2399)

* add alt for image UI page (fix w3 validator) (#2403)

* docs: fix typo in commands.md (#2405)

* remove unnecessary select placeholder from basics.md (#2407)

* fix display combination in changelog (#2409)

* add description to images (#2412)

* Fix android native locator support for appium helper (#2429)

* Update mobile.md

* Fix android native locator support for appium helper

* update the expected result for windows platform especially the absolute path case because in windows, path.resolve returns driver letter

* chore: jsdoc color param optional in `I.say` (#2443)

* update github links after repository migration (#2447)

* Fixed waitNumberOfVisibleElements for Webdriver (#2418)

* fix waitNumberOfVisibleElements

waitNumberOfVisibleElements returns false everytime as it does not filter the visible element count

* fix waitNumberOfVisibleElements

waitNumberOfVisibleElements returns false everytime as it does not filter for visible elements

* Issue 2434 (handle .indexOf error) (#2436)

* Makes suggested changes to have Chromium install

* fixes #2434

* fix playwright too

Co-authored-by: George Griffiths <george.griffiths@ibm.com>

* Puppeteer handle page error (#2435)

* Makes suggested changes to have Chromium install

* handle page crash

* handle undefined page

* dont open new tab on crash

* remove old try catch

Co-authored-by: George Griffiths <george.griffiths@ibm.com>

* Feat: Skip feature (#2427)

* Makes suggested changes to have Chromium install

* feat: implement skip of features

* Add unit tests, docs and type defs

* Apply suggestions from code review

Co-authored-by: George Griffiths <george.griffiths@ibm.com>
Co-authored-by: Michael Bodnarchuk <DavertMik@users.noreply.github.com>

* Release 2.6.6 (#2450)

* updated docs

* fixed tests & updated linter

* updated changelog

* fixed mocks

* Honor reporter configuration in mocha (#2465)

* Update compilerOptions.target to es2017 (#2484)

This resolves (#2483), since async and await are no long transpiled to ES generators

* Fix playwright set cookie (#2491)

* Fix setCookie for Playwright helper

* fix lint issue

Co-authored-by: Ben Barker <benbarker@workfront.com>

* Add documentation changes for check-tests (#2502)

* fix markdown video links (#2489)

* Update pageobjects.md (#2497)

* update plugins page "h" tags for more readable (#2501)

* Fix typo in locators docs section (#2503)

* Right click issue fix for Webdriver (#2485)

* Right click issue fix for Webdriver

* moveTo added in rightclick

* Native Click used to perform rightclick operation

* Added `forceRightClick` method to emulate rightclick event instead of using native events.

* Add --invert option for run-workers command (#2504)

* add missing REST helper (#2474)

* Release 2.6.7 (#2506)

* Prepare release-2.6.7

* Apply ESLint fixes.

* updated playwright workflow to use official action

Co-authored-by: Paul Vincent Beigang <paul.beigang@digistore24.com>
Co-authored-by: Davert <davert.ua@gmail.com>

* slight updates to changelog

* added forceRightClick method

* Fix missing screenshots on failure when REST helper is in use (#2513)

* Improve error logging (#2512)

* getPageTimeout: 30000, (#2516)

fix(page-timeouts): method amOnPage freezing, when  equal 0.

* update to relevant path & some fix (#2515)

* Update init.js (#2520)

* element screenshot method added (#2521)

* Rearranged typeof check to handle null parameter (#2494)

* Rearranged typeof check to handle null parameter

Error:
Cannot read property 'toString' of null
  typeError: Cannot read property 'toString' of null
      at G:\CodeceptJS-Test\node_modules\codeceptjs\lib\step.js:115:22

Solution: Rearranged typeof check to handle crash when helper method is called with null parameter.

* Update step.js

* Update step.js

* Prepare 2.6.8 release. (#2514)

* Prepare 2.6.8 release.

* Prepare 2.6.8 release.

Co-authored-by: Paul Vincent Beigang <paul.beigang@digistore24.com>

* Fix generate:helper command (#2523)

* Release 2.6.8 (#2522)

* added docs

* added type method

* fixed steps test

* fixed tests & types

* fixed tests & types

* fixed tests for type

* added type to Protractor

* fixed typing via Protractor

* removed protractor type

* removed protractor type

* fixed tests

* fixed tests

* fixed tests

* updated release paths

* feat(helper): Clear SessinStorage (#2524)

* Fix broken URLs (#2528)

* update readme file urls (#2534)

* update docs md to relevant path (#2530)

* Preserve initial error stack when helper load fail (#2541)

* Release 2.6.9 (#2545)

* fixed tests

Co-authored-by: Davert <davert.ua@gmail.com>
Co-authored-by: Mykhailo Bodnarchuk <mykhailo.bodnarchuk@Mykhailos-MacBook-Pro.local>
Co-authored-by: Ihor Sychevskyi <26163841+Arhell@users.noreply.github.com>
Co-authored-by: Aleksei Gurianov <gurianov@gmail.com>
Co-authored-by: Tanakiat Srisaranyakul <tanakiats@hotmail.com>
Co-authored-by: Bartosz Wojtkowiak <bartosz@wojtkowiak.it>
Co-authored-by: Vijay Venkatesh <ilangovan.vijay@gmail.com>
Co-authored-by: George Griffiths <georgegriffiths@live.com>
Co-authored-by: George Griffiths <george.griffiths@ibm.com>
Co-authored-by: Michael Bodnarchuk <DavertMik@users.noreply.github.com>
Co-authored-by: Trinh Pham <9128061+trinhpham@users.noreply.github.com>
Co-authored-by: Shan <shanplourde@gmail.com>
Co-authored-by: Ben Barker <barker.ben.m@gmail.com>
Co-authored-by: Ben Barker <benbarker@workfront.com>
Co-authored-by: Koushik Mohan <koushikmohan1996@gmail.com>
Co-authored-by: Jesus Vilar <jesus.vilar@gmail.com>
Co-authored-by: Marcin Słowiak <marcin.slowiak.007@gmail.com>
Co-authored-by: suniljaiswal01 <45997477+suniljaiswal01@users.noreply.github.com>
Co-authored-by: Paul <pbeigang@gmail.com>
Co-authored-by: Peter Nguyen Tr <peter.nguyentr@gmail.com>
Co-authored-by: Paul Vincent Beigang <paul.beigang@digistore24.com>
Co-authored-by: Sitam Jana <43989292+sjana-aj@users.noreply.github.com>
Co-authored-by: Leonardo Bazico <leonardobazico@gmail.com>
Co-authored-by: Igor Strebezhev <xamgore@users.noreply.github.com>
Co-authored-by: Michail Shipov <mshipov@yandex.ru>
  • Loading branch information
1 parent e5944fb commit ac66a84
Show file tree
Hide file tree
Showing 47 changed files with 753 additions and 142 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check.yml
Expand Up @@ -15,3 +15,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
has-tests-label: true
comment-on-empty: true
github-pat: ${{ secrets.GH_PAT }}
enable-documentation: true
documentation-branch: "master"
3 changes: 1 addition & 2 deletions .github/workflows/playwright.yml
Expand Up @@ -28,10 +28,9 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: microsoft/playwright-github-action@v1
- name: install required packages
run: |
sudo apt-get update
sudo apt-get install libgbm1 libgbm-dev libwoff1 libopus0 libwebp6 libwebpdemux2 libenchant1c2a libgudev-1.0-0 libsecret-1-0 libhyphen0 libgdk-pixbuf2.0-0 libegl1 libgles2 libevent-2.1-6 libnotify4 libxslt1.1
sudo apt-get install php
- name: npm install
run: |
Expand Down
39 changes: 30 additions & 9 deletions CHANGELOG.md
Expand Up @@ -103,10 +103,31 @@ tryTo(() => I.click('Accept', '.cookies'));
```

* **Possible breaking change** In semantic locators `[` char indicates CSS selector.
## 2.6.5

* Added `test.skipped` event to run-workers, fixing allure reports with skipped tests in workers #2391. Fix #2387 by @koushikmohan1996
* [Playwright] Fixed calling `waitFor*` methods with custom locators #2314. Fix #2389 by @Georgegriff
## 2.6.9

* [Puppeteer][Playwright] SessionStorage is now cleared in after hook. See #2524
* When helper load failed the error stack is now logged by @SkReD. See #2541
* Small documentation fixes.

## 2.6.8

* [WebDriver][Protractor][Playwright][Puppeteer][Nightmare] `saveElementScreenshot` method added to make screenshot of an element. By @suniljaiswal01
* [Playwright][Puppeteer] Added `type` method to type a text using keyboard with an optional delay.
* [WebDriver] Added optional `delay` argument to `type` method to slow down typing.
* [Puppeteer] Fixed `amOnPage` freeze when `getPageTimeout` is 0"; set 30 sec as default timeout by @Vorobeyko.
* Fixed printing step with null argument in custom helper by @sjana-aj. See #2494
* Fix missing screenshot on failure when REST helper is in use #2513 by @PeterNgTr
* Improve error logging in the `screenshotOnFail` plugin #2512 by @pablopaul

## 2.6.7

* Add REST helper into `standardActingHelpers` array #2474 by @PeterNgTr
* Add missing `--invert` option for `run-workers` command #2504 by @pablopaul
* [WebDriver] Introduce `forceRightClick` method #2485 bylsuniljaiswal01
* [Playwright] Fix `setCookie` method #2491 by @bmbarker90
* [TypeScript] Update compilerOptions.target to es2017 #2483 by @shanplourde
* [Mocha] Honor reporter configuration #2465 by @trinhpham

## 2.6.6

Expand Down Expand Up @@ -265,7 +286,7 @@ I.see('You are logged out');
* works with WebDriver helper
* Avoid failiure report on successful retry in worker by @koushikmohan1996
* Added translation ability to Scenario, Feature and other context methods by @koushikmohan1996
* 📢 Please help us translate context methods to your language! See [italian translation](https://github.com/Codeception/CodeceptJS/blob/master/translations/it-IT.js#L3) as an example and send [patches to vocabularies](https://github.com/Codeception/CodeceptJS/tree/master/translations).
* 📢 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).
* allurePlugin: Added `say` comments to allure reports by @PeterNgTr.
* Fixed no custom output folder created when executed with run-worker. Fix by @PeterNgTr
* [Puppeteer] Fixed error description for context element not found. See #2065. Fix by @PeterNgTr
Expand Down Expand Up @@ -350,7 +371,7 @@ I.click('$register_button');
Changed pressKey method to resolve issues and extend functionality.
* Did not properly recognize 'Meta' (or 'Command') as modifier key.
* Right modifier keys did not work in WebDriver using JsonWireProtocol.
* 'Shift' + <key> combination would not reflect actual keyboard behavior.
* 'Shift' + 'key' combination would not reflect actual keyboard behavior.
* Respect sequence with multiple modifier keys passed to pressKey.
* Added support to automatic change operation modifier key based on operating system.
* [Puppeteer][WebDriver] Added `pressKeyUp` and `pressKeyDown` to press and release modifier keys like `Control` or `Shift`. By @martomo.
Expand Down Expand Up @@ -470,7 +491,7 @@ I.mockRequest('POST', '/users', { user: { name: 'fake' }});
## 2.1.5
* **EXPERIMENTAL** [Wix Detox support](https://github.com/Codeception/detox-helper) introduced as standalone helper. Provides a faster alternative to Appium for mobile testing.
* **EXPERIMENTAL** [Wix Detox support](https://github.com/codeceptjs/detox-helper) introduced as standalone helper. Provides a faster alternative to Appium for mobile testing.
* Saving successful commands inside interactive pause into `_output/cli-history` file. By @hubidu
* Fixed hanging error handler inside scenario. See #1721 by @haily-lgc.
* Fixed by @Vorobeyko: tests did not fail when an exception was raised in async bootstrap.
Expand Down Expand Up @@ -703,7 +724,7 @@ Use it with `FileSystem` helper to test availability of a file:
* **Using `codecept.conf.js` as default configuration format**
* Fixed "enametoolong" error when saving screenshots for data driven tests by @PeterNgTr
* Updated NodeJS to 10 in Docker image
* [Pupeteer] Add support to use WSEndpoint. Allows to execute tests remotely. [See #1350] by @gabrielcaires (https://github.com/Codeception/CodeceptJS/pull/1350)
* [Pupeteer] Add support to use WSEndpoint. Allows to execute tests remotely. [See #1350] by @gabrielcaires (https://github.com/codeceptjs/CodeceptJS/pull/1350)
* In interactive shell [Enter] goes to next step. Improvement by @PeterNgTr.
* `I.say` accepts second parameter as color to print colorful comments. Improvement by @PeterNgTr.
Expand Down Expand Up @@ -1435,7 +1456,7 @@ codeceptjs run users_test.js -c tests

* Protractor ^5.0.0 support (while keeping ^4.0.9 compatibility)
* Fix 'fullTitle() is not a function' in exit.js by @hubidu. See #388.
* [Nightmare] Fix for `waitTimeout` by @HughZurname. See #391. Resolves #236* Dockerized CodeceptJS setup by @artiomnist. [See reference](https://github.com/Codeception/CodeceptJS/blob/master/docker/README.md)
* [Nightmare] Fix for `waitTimeout` by @HughZurname. See #391. Resolves #236* Dockerized CodeceptJS setup by @artiomnist. [See reference](https://github.com/codeceptjs/CodeceptJS/blob/master/docker/README.md)

## 0.4.16

Expand Down Expand Up @@ -1534,7 +1555,7 @@ codeceptjs run -o '{ "bootstrap": "bootstrap.js"}'
codeceptjs run -o '{ "helpers": {"WebDriverIO": {"browser": "chrome"}}}'
```
* Added [regression tests](https://github.com/Codeception/CodeceptJS/tree/master/test/runner) for codeceptjs tests runner.
* Added [regression tests](https://github.com/codeceptjs/CodeceptJS/tree/master/test/runner) for codeceptjs tests runner.
## 0.4.11
Expand Down
22 changes: 11 additions & 11 deletions README.md
Expand Up @@ -2,7 +2,7 @@

# CodeceptJS

Reference: [Helpers API](https://github.com/Codeception/CodeceptJS/blob/master/docs) | [Demo](https://github.com/Codeception/codeceptjs-demo)
Reference: [Helpers API](https://github.com/codeceptjs/CodeceptJS/blob/master/docs) | [Demo](https://github.com/codeceptjs/codeceptjs-demo)

## Supercharged E2E Testing

Expand All @@ -27,13 +27,13 @@ CodeceptJS tests are:

CodeceptJS uses **Helper** modules to provide actions to `I` object. Currently CodeceptJS has these helpers:

* [**Puppeteer**](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/Puppeteer.md) - uses Google Chrome's Puppeteer for fast headless testing.
* [**WebDriver**](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/WebDriver.md) - uses [webdriverio](http://webdriver.io/) to run tests via WebDriver protocol.
* [**Protractor**](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/Protractor.md) - helper empowered by [Protractor](http://protractortest.org/) to run tests via WebDriver protocol.
* [**TestCafe**](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/TestCafe.md) - cheap and fast cross-browser test automation.
* [**Nightmare**](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/Nightmare.md) - uses Electron and NightmareJS to run tests.
* [**Appium**](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/Appium.md) - for **mobile testing** with Appium
* [**Detox**](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/Detox.md) - This is a wrapper on top of Detox library, aimied to unify testing experience for CodeceptJS framework. Detox provides a grey box testing for mobile applications, playing especially good for React Native apps.
* [**Puppeteer**](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/Puppeteer.md) - uses Google Chrome's Puppeteer for fast headless testing.
* [**WebDriver**](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/WebDriver.md) - uses [webdriverio](http://webdriver.io/) to run tests via WebDriver protocol.
* [**Protractor**](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/Protractor.md) - helper empowered by [Protractor](http://protractortest.org/) to run tests via WebDriver protocol.
* [**TestCafe**](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/TestCafe.md) - cheap and fast cross-browser test automation.
* [**Nightmare**](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/Nightmare.md) - uses Electron and NightmareJS to run tests.
* [**Appium**](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/Appium.md) - for **mobile testing** with Appium
* [**Detox**](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/Detox.md) - This is a wrapper on top of Detox library, aimied to unify testing experience for CodeceptJS framework. Detox provides a grey box testing for mobile applications, playing especially good for React Native apps.

And more to come...

Expand Down Expand Up @@ -113,7 +113,7 @@ Scenario('test some forms', ({ I }) => {
```

All actions are performed by I object; assertions functions start with `see` function.
In this examples all methods of `I` are taken from WebDriver helper, see [reference](https://github.com/Codeception/CodeceptJS/blob/master/docs/helpers/WebDriver.md) to learn how to use them.
In this examples all methods of `I` are taken from WebDriver helper, see [reference](https://github.com/codeceptjs/CodeceptJS/blob/master/docs/helpers/WebDriver.md) to learn how to use them.

Let's execute this test with `run` command. Additional option `--steps` will show us the running process. We recommend use `--steps` or `--debug` during development.

Expand Down Expand Up @@ -268,8 +268,8 @@ When using typescript, replace `module.exports` with `export` for autocompletion

## Contributing

- ### [Contributing Guide](https://github.com/Codeception/CodeceptJS/blob/master/.github/CONTRIBUTING.md)
- ### [Code of conduct](https://github.com/Codeception/CodeceptJS/blob/master/.github/CODE_OF_CONDUCT.md)
- ### [Contributing Guide](https://github.com/codeceptjs/CodeceptJS/blob/master/.github/CONTRIBUTING.md)
- ### [Code of conduct](https://github.com/codeceptjs/CodeceptJS/blob/master/.github/CODE_OF_CONDUCT.md)


## Contributors
Expand Down
1 change: 1 addition & 0 deletions bin/codecept.js
Expand Up @@ -122,6 +122,7 @@ program.command('run-workers <workers>')
.description('Executes tests in workers')
.option('-c, --config [file]', 'configuration file to be used')
.option('-g, --grep <pattern>', 'only run tests matching <pattern>')
.option('-i, --invert', 'inverts --grep matches')
.option('-o, --override [value]', 'override current config options')
.option('--suites', 'parallel execution of suites not single tests')
.option('--debug', 'output additional information')
Expand Down
29 changes: 26 additions & 3 deletions docs/changelog.md
Expand Up @@ -7,14 +7,37 @@ layout: Section

# Releases

## 2.6.7

* Add REST helper into `standardActingHelpers` array [#2474](https://github.com/codecept-js/CodeceptJS/issues/2474) by **[PeterNgTr](https://github.com/PeterNgTr)**
* Add missing `--invert` option for `run-workers` command [#2504](https://github.com/codecept-js/CodeceptJS/issues/2504) by **[pablopaul](https://github.com/pablopaul)**
* **[WebDriver]** Introduce `forceRightClick` method [#2485](https://github.com/codecept-js/CodeceptJS/issues/2485) bylsuniljaiswal01
* **[Playwright]** Fix `setCookie` method [#2491](https://github.com/codecept-js/CodeceptJS/issues/2491) by **[bmbarker90](https://github.com/bmbarker90)**
* **[TypeScript]** Update compilerOptions.target to es2017 [#2483](https://github.com/codecept-js/CodeceptJS/issues/2483) by **[shanplourde](https://github.com/shanplourde)**
* **[Mocha]** Honor reporter configuration [#2465](https://github.com/codecept-js/CodeceptJS/issues/2465) by **[trinhpham](https://github.com/trinhpham)**

## 2.6.6

* Puppeteer 4.0 support. Important: MockRequest helper won't work with Puppeter > 3.3
* Added `xFeature` and `Feature.skip` to skip all tests in a suite. By **[Georgegriff](https://github.com/Georgegriff)**
* **[Appium]** Fixed [#2428](https://github.com/codecept-js/CodeceptJS/issues/2428) Android native locator support by **[idxn](https://github.com/idxn)**
* **[WebDriver]** Fixed `waitNumberOfVisibleElements` to actually filter visible elements. By **[ilangv](https://github.com/ilangv)**
* **[Puppeteer]** Fixed handling error which is not an Error object. Fixes `cannot read property indexOf of undefined` error. Fix [#2436](https://github.com/codecept-js/CodeceptJS/issues/2436) by **[Georgegriff](https://github.com/Georgegriff)**
* **[Puppeteer]** Print error on page crash by **[Georgegriff](https://github.com/Georgegriff)**

## 2.6.5

* Added `test.skipped` event to run-workers, fixing allure reports with skipped tests in workers [#2391](https://github.com/codecept-js/CodeceptJS/issues/2391). Fix [#2387](https://github.com/codecept-js/CodeceptJS/issues/2387) by **[koushikmohan1996](https://github.com/koushikmohan1996)**
* **[Playwright]** Fixed calling `waitFor*` methods with custom locators [#2314](https://github.com/codecept-js/CodeceptJS/issues/2314). Fix [#2389](https://github.com/codecept-js/CodeceptJS/issues/2389) by **[Georgegriff](https://github.com/Georgegriff)**

## 2.6.4

* **[Playwright]** **Playwright 1.0 support** by **[Georgegriff](https://github.com/Georgegriff)**.

## 2.6.3

* [stepByStepReport plugin] Fixed when using plugin with BeforeSuite. Fixes [#2337](https://github.com/Codeception/CodeceptJS/issues/2337) by **[mirao](https://github.com/mirao)**
* [allure plugin] Fixed reporting of tests skipped by failure in before hook. Refer to [#2349](https://github.com/Codeception/CodeceptJS/issues/2349) & [#2354](https://github.com/Codeception/CodeceptJS/issues/2354). Fix by **[koushikmohan1996](https://github.com/koushikmohan1996)**
* [stepByStepReport plugin] Fixed when using plugin with BeforeSuite. Fixes [#2337](https://github.com/codecept-js/CodeceptJS/issues/2337) by **[mirao](https://github.com/mirao)**
* [allure plugin] Fixed reporting of tests skipped by failure in before hook. Refer to [#2349](https://github.com/codecept-js/CodeceptJS/issues/2349) & [#2354](https://github.com/codecept-js/CodeceptJS/issues/2354). Fix by **[koushikmohan1996](https://github.com/koushikmohan1996)**

## 2.6.2

Expand Down Expand Up @@ -354,7 +377,7 @@ I.mockRequest('POST', '/users', { user: { name: 'fake' }});
## 2.1.5
* **EXPERIMENTAL** [Wix Detox support](https://github.com/Codeception/detox-helper) introduced as standalone helper. Provides a faster alternative to Appium for mobile testing.
* **EXPERIMENTAL** [Wix Detox support](https://github.com/codecept-js/detox-helper) introduced as standalone helper. Provides a faster alternative to Appium for mobile testing.
* Saving successful commands inside interactive pause into `_output/cli-history` file. By **[hubidu](https://github.com/hubidu)**
* Fixed hanging error handler inside scenario. See [#1721](https://github.com/codecept-js/CodeceptJS/issues/1721) by **[haily-lgc](https://github.com/haily-lgc)**.
* Fixed by **[Vorobeyko](https://github.com/Vorobeyko)**: tests did not fail when an exception was raised in async bootstrap.
Expand Down
2 changes: 1 addition & 1 deletion docs/custom-helpers.md
Expand Up @@ -23,7 +23,7 @@ Helpers can be created by running a generator command:
npx codeceptjs gh
```

*(or `generate helper`)*
*(or `npx codeceptjs generate:helper`)*

This command generates a basic helper and appends it to `helpers` section of config file:

Expand Down
4 changes: 2 additions & 2 deletions docs/detox.md
Expand Up @@ -3,7 +3,7 @@ permalink: /detox
title: Testing React Native with Detox
---

> Warning! Detox support in CodeceptJS is experimental. Please try it and help us to test it and improve it. [See Detox helper repository](https://github.com/Codeception/detox-helper).
> Warning! Detox support in CodeceptJS is experimental. Please try it and help us to test it and improve it. [See Detox helper repository](https://github.com/codecept-js/detox-helper).
Automated mobile testing can be slow, hard, and ineffective. The price of it goes high, if we take into account fragility of applications, slowness of emulators, and the complexity of debug. [Appium](/mobile) helps writing mobile tests but not all apps can be tested effectively with it. That's why you should consider using an alternative approach.

Expand Down Expand Up @@ -119,7 +119,7 @@ There are also common assertions:
* `seeElement` - to check visibility of element
* `seeElementExists` - to check that element exists

> For more details on actions refer to the [API reference of Detox helper](https://github.com/Codeception/detox-helper#api).
> For more details on actions refer to the [API reference of Detox helper](https://github.com/codecept-js/detox-helper#api).
## Locators

Expand Down

0 comments on commit ac66a84

Please sign in to comment.