Skip to content

Commit 224586b

Browse files
committed
Assistant tests: Screenshot before cleaning up
1 parent 602106a commit 224586b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-e2e-tests/tests/assistant.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ describe('MongoDB Assistant', function () {
179179
});
180180

181181
afterEach(async function () {
182+
await screenshotIfFailed(compass, this.currentTest);
183+
182184
mockAssistantServer.clearRequests();
183185
await clearChat(browser);
184-
185-
await screenshotIfFailed(compass, this.currentTest);
186186
});
187187

188188
describe('drawer visibility', function () {

0 commit comments

Comments
 (0)