Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmncit/nightwatch-selenium-e2e
https://github.com/mmncit/nightwatch-selenium-e2e
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mmncit/nightwatch-selenium-e2e
- Owner: mmncit
- License: mit
- Created: 2021-10-07T02:41:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T14:59:33.000Z (about 3 years ago)
- Last Synced: 2023-02-27T00:21:16.971Z (almost 2 years ago)
- Language: JavaScript
- Size: 10.9 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nightwatch-selenium-e2e
The introductory exercises for test automation on different interaction
## Setup
- [Install `java`](https://www.java.com/en/download/manual.jsp)
- [Install `npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
- [Install `yarn`](https://classic.yarnpkg.com/lang/en/docs/install)## Install dependencies
After setting up the environment, clone or download the repo and run:
```bash
yarn install
```## Running the test suite
You can run all tests for a particular browser by using one of the following commands.
- `yarn test:chrome`
- `yarn test:firefox`
- `yarn test:edge`
- `yarn test:safari`The tests for edge and safari will only run on windows and macOS respectively.
## Test Invididual Suite Files
An individual test file can also be run. For instance, to run `heroku.js` on chrome:
```bash
$ yarn test:chrome --test tests/heroku.js
```