Skip to content

nhunzaker/nightwatch-test

Repository files navigation

DOM Test Fixture Automation

An experiment to automate manual testing of the ReactDOM test fixtures.

Setup

This setup has only been tested in High Sierra OSX.

yarn install
cp .env.example .env

Local testing

Run make install to download selenium and web drivers to ./bin. Then run:

yarn test:local

By default, this tests Chrome. Test additional browsers with:

yarn test:local -e firefox,chrome,safari

To test in Safari 11:

  1. Open Safari
  2. Check Developer > Allow Remote Automation
  3. Close Safari
  4. Run safaridriver --enable to enable the webdriver

Remote testing

  1. Create an account (a free trial is fine) on Browserstack.
  2. Copy .env.example to .env.
  3. Fill in your browserstack username and key within .env
yarn test:remote

By default, this tests Chrome. Test additional browsers with:

yarn test:local -e firefox,chrome,safari,ie,edge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published