Skip to content

Commit

Permalink
Main: updating README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tnelms1 committed Jan 3, 2024
1 parent 3e7a4e0 commit f0f816e
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ Enter your projectToken in visualTest.config.js:
module.exports = {projectToken: 'PROJECT_TOKEN'}
```

## Requirements

Node 18.17.0+

Cypress 9.7.0+

## Implementation

Simply change all instances of ```cy.screenshot``` with ```cy.sbvtCapture```.
Expand Down Expand Up @@ -116,7 +110,21 @@ Callback arguments are not allowed, i.e. ```onBeforeScreenshot``` & ```onAfterSc

## Requirements

- Cypress v7.4.0+ (Recommend v10.10.0+)
Cypress 9.7.0+ (Recommend v10.10.0+)

Node 18.17.0+

## Assigning captures to a test group name

```javascript
//visualtest.config.js
module.exports = {
projectToken: 'PROJECT_TOKEN',
testGroupName: 'test group name'
}
// OR save on the environment variable
// SBVT_TEST_GROUP_NAME = 'test group name'
```

## Manual Setup

Expand Down

0 comments on commit f0f816e

Please sign in to comment.