Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gkushang/shopnemo

shop acceptance with nemo, attach screenshot to HTML report when test fails. Add sauce labs information to report if test runs on sauce labs. Multi-browser configuration for sauce labs with nemo.
https://github.com/gkushang/shopnemo

Last synced: about 2 months ago
JSON representation

shop acceptance with nemo, attach screenshot to HTML report when test fails. Add sauce labs information to report if test runs on sauce labs. Multi-browser configuration for sauce labs with nemo.

Awesome Lists containing this project

README

        

### Shop Acceptance tests
```javascript
$ npm install --registry http://npm.paypal.com
```

#### run Acceptance tests locally
```javascript
$ NODE_ENV=prod grunt acceptance
```

#### run Smoke test locally
smoke test runs all the cucumber tests tagged with @p1
```javascript
$ NODE_ENV=prod grunt smoke
```

#### run tests on sauce labs
Pass a `SAUCE` parameter with the browser name. `shopNemo` is configured to run test on sauce labs Firefox and Chrome browser, more browsers will be added soon.

Note: SAUCE parameter will launch a `SauceConnect` to proxy the tests.

to run test on sauce labs Firefox browser
```javascript
$ NODE_ENV=prod SAUCE=firefox grunt acceptance
```

to run test on sauce labs Chrome browser
```javascript
$ NODE_ENV=prod SAUCE=chrome grunt acceptance
```

#### run specific cucumber tags
e.g. below command will run two tests
```javascript
$ NODE_ENV=prod grunt acceptance --tags=@affiliate_details_tile,@affiliate_details_modal
```

#### debug tests
```javascript
$ NODE_ENV=prod DEBUG=nemo* grunt acceptance
```