An open API service indexing awesome lists of open source software.

https://github.com/billmeyer/myoptum-visual-e2e-example


https://github.com/billmeyer/myoptum-visual-e2e-example

Last synced: 6 days ago
JSON representation

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.