https://github.com/testingbot/jest-js-testingbot-example
Jest + Selenium WebDriver example with TestingBot
https://github.com/testingbot/jest-js-testingbot-example
Last synced: 11 months ago
JSON representation
Jest + Selenium WebDriver example with TestingBot
- Host: GitHub
- URL: https://github.com/testingbot/jest-js-testingbot-example
- Owner: testingbot
- License: mit
- Created: 2024-09-12T12:59:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-12T13:00:48.000Z (over 1 year ago)
- Last Synced: 2024-12-26T02:07:38.380Z (about 1 year ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## TestingBot - JestJS Example
TestingBot offers an online grid of browsers and mobile devices for running automated tests using Jest.
This example repository demonstrates how to use Jest to execute Selenium WebDriver tests in parallel across multiple browsers on TestingBot.
### Environment Setup
1. Global Dependencies
* Install [Node.js](https://nodejs.org/en/)
* Or Install Node.js with [Homebrew](http://brew.sh/)
```
$ brew install node
```
2. TestingBot Credentials
* In the terminal export your TestingBot Credentials as environmental variables:
```
$ export TESTINGBOT_KEY=
$ export TESTINGBOT_SECRET=
```
3. Project Dependencies
* Install Node modules
```
$ npm install
```
### Running Tests
* Run a Jest test:
```
$ npm test
```
You will see the test result in the [TestingBot Dashboard](https://testingbot.com/members/)
### Resources
##### [TestingBot Jest Documentation](https://testingbot.com/support/getting-started/jest.html)
##### [SeleniumHQ Documentation](http://www.seleniumhq.org/docs/)
##### [Jest Documentation](https://jestjs.io/docs/getting-started/)