Skip to content

Commit 69c9f16

Browse files
authored
chore: also skip afterEach() (#6906)
also skip afterEach()
1 parent 6cdad7b commit 69c9f16

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/compass-e2e-tests/tests/collection-aggregations-tab.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ describe('Collection aggregations tab', function () {
623623
if (serverSatisfies('< 5.0.0')) {
624624
return this.skip();
625625
}
626+
626627
await browser.setValidation({
627628
connectionName: DEFAULT_CONNECTION_NAME_1,
628629
database: 'test',
@@ -639,6 +640,10 @@ describe('Collection aggregations tab', function () {
639640
});
640641

641642
afterEach(async function () {
643+
if (serverSatisfies('< 5.0.0')) {
644+
return this.skip();
645+
}
646+
642647
await browser.setValidation({
643648
connectionName: DEFAULT_CONNECTION_NAME_1,
644649
database: 'test',

packages/compass-e2e-tests/tests/collection-documents-tab.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ FindIterable<Document> result = collection.find(filter);`);
698698
if (serverSatisfies('< 5.0.0')) {
699699
return this.skip();
700700
}
701+
701702
await browser.setValidation({
702703
connectionName: DEFAULT_CONNECTION_NAME_1,
703704
database: 'test',

0 commit comments

Comments
 (0)