Skip to content

Commit 20b46f5

Browse files
author
Kerem Beygo
committed
Sauce Visual API lifecycle - sidebar link
1 parent aba2ec4 commit 20b46f5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/visual-testing/workflows/ci.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import TabItem from '@theme/TabItem';
88

99
# Continuous Integration
1010

11-
To integrate Sauce Visual into your continuous integration workflow we recommend a two-step approach using the sauce visual cli. Sauce visual cli will work with all major CI systems (GitHub, Gitlab, Jenkins, CircleCI).
11+
To integrate Sauce Visual into your continuous integration workflow we recommend a two-step approach using the [Sauce Visual CLI](../cli.md). Sauce Visual CLI will work with all major CI systems (GitHub, Gitlab, Jenkins, CircleCI).
1212

1313
<img src={useBaseUrl('img/sauce-visual/workflow-ci.png')} alt="Branch Review Pipeline" />
1414

1515
To implement a merge/pull request flow which blocks the given request from merging when visual diffs are detected and not approved do the following:
1616

17-
1. trigger test execution in your ci the way you do it locally. Make sure to pass a custom build id and do not fail your test when visual differences where detected.
18-
2. in a dedicated build step use the sauce visual cli to fetch the current state of the sauce visual build using the custom build id from step one. It will fail in case visual changes have been detected.
17+
1. trigger test execution in your CI the way you do it locally. Make sure to pass a custom build ID and do not fail your test when visual differences where detected.
18+
2. in a dedicated build step use the Sauce Visual CLI to fetch the current state of the Sauce Visual build using the custom build ID from step one. It will fail in case visual changes have been detected.
1919

2020
```
2121
# make sure nodejs and npx is available

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,7 @@ module.exports = {
16941694
'visual-testing/workflows/test-execution',
16951695
'visual-testing/workflows/review',
16961696
'visual-testing/workflows/ci',
1697+
'visual-testing/workflows/api-lifecycle'
16971698
],
16981699
},
16991700
{

0 commit comments

Comments
 (0)