Skip to content

Commit 6659f4d

Browse files
Switched cleanup operations order
1 parent 8924d28 commit 6659f4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/acme-bank.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ describe('ACME Bank', function () {
116116

117117
afterEach(async () => {
118118

119-
// Quit the WebdriverIO instance
120-
await browser.closeWindow();
121-
122119
// Close Eyes to tell the server it should display the results.
123120
await eyes.closeAsync();
124121

122+
// Quit the WebdriverIO instance
123+
await browser.closeWindow();
124+
125125
// Warning: `eyes.closeAsync()` will NOT wait for visual checkpoints to complete.
126126
// You will need to check the Applitools dashboard for visual results per checkpoint.
127127
// Note that "unresolved" and "failed" visual checkpoints will not cause the Mocha test to fail.

0 commit comments

Comments
 (0)