Skip to content

Commit

Permalink
Check for Approved
Browse files Browse the repository at this point in the history
  • Loading branch information
FriggaHel committed Mar 14, 2024
1 parent f7ea326 commit adccbc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visual-dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ dotnet add package SauceLabs.Visual
- Get results of Visual Tests and run assertions on it
```csharp
var results = await visualClient.VisualResults(visualBuild.Id);
// verify if any check is unapproved
Assert.AreEqual(0, results[DiffStatus.Unapproved]);
// verify that no visual check has differences
Assert.AreEqual(0, results[DiffStatus.Approved]);
```

0 comments on commit adccbc4

Please sign in to comment.