Skip to content

Commit c034d9f

Browse files
authored
chore: skip validation tests for < 5.0 (#6893)
1 parent c8450a9 commit c034d9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,9 @@ describe('Collection aggregations tab', function () {
620620
'{ $jsonSchema: { bsonType: "object", required: [ "phone" ] } }';
621621
const VALIDATED_OUT_COLLECTION = 'nestedDocs';
622622
beforeEach(async function () {
623+
if (serverSatisfies('< 5.0.0')) {
624+
return this.skip();
625+
}
623626
await browser.setValidation({
624627
connectionName: DEFAULT_CONNECTION_NAME_1,
625628
database: 'test',

0 commit comments

Comments
 (0)