An experiment to automate manual testing of the ReactDOM test fixtures.
This setup has only been tested in High Sierra OSX.
yarn install
cp .env.example .env
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
- Open Safari
- Check Developer > Allow Remote Automation
- Close Safari
- Run
safaridriver --enable
to enable the webdriver
- Create an account (a free trial is fine) on Browserstack.
- Copy
.env.example
to.env
. - 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