Skip to content

Commit 6ad8601

Browse files
Reversed order of Eyes close and browser quit
1 parent 302296e commit 6ad8601

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Applitools.Example.Tests/AcmeBankTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ public void LogIntoBankAccount()
141141
[TearDown]
142142
public void CleanUpTest()
143143
{
144-
// Quit the WebDriver instance.
145-
Driver.Quit();
146-
147144
// Close Eyes to tell the server it should display the results.
148145
Eyes.CloseAsync();
149146

147+
// Quit the WebDriver instance.
148+
Driver.Quit();
149+
150150
// Warning: `Eyes.CloseAsync()` will NOT wait for visual checkpoints to complete.
151151
// You will need to check the Eyes Test Manager for visual results per checkpoint.
152152
// Note that "unresolved" and "failed" visual checkpoints will not cause the NUnit test to fail.

0 commit comments

Comments
 (0)