https://github.com/billmeyer/myoptum-visual-e2e-example
https://github.com/billmeyer/myoptum-visual-e2e-example
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/billmeyer/myoptum-visual-e2e-example
- Owner: billmeyer
- Created: 2020-08-13T17:21:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T13:59:45.000Z (almost 6 years ago)
- Last Synced: 2025-10-30T17:51:47.878Z (8 months ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sauce Visual End to End Example
## Prerequisites
1. Download and install the current LTS version of Node.js from https://nodejs.org/en/.
2. Clone this repo to your local drive:
```bash
git clone https://github.com/billmeyer/myoptum-visual-e2e-example
```
3. Change the current directory:
```bash
cd myoptum-visual-e2e-example
```
4. Install the package dependencies:
```bash
npm install
```
## Configuration
Ensure these environment variables are set appropriately:
* SCREENER_API_KEY ← Located at https://screener.io/v2/account/api-key
* SAUCE_USERNAME ← Located at https://app.saucelabs.com/user-settings
* SAUCE_ACCESS_KEY ← Located at https://app.saucelabs.com/user-settings
## Execution
1. From the `myoptum-visual-e2e-example` directory, execute:
```
npm run test-screener
```
2. Once complete, visit the dashboard at https://screener.io/v2/dashboard to view the comparisons.
## Additional Links
* https://github.com/screener-io/screener-runner
- The `screener-runner` GitHub page has useful information for configuring `screener.config.js` to run `screener-runner` tests.
* https://screener.io/v2/docs/test-interactions
- Documents the `Steps` API for interacting with webpages.