We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d40b87 commit 94a4b72Copy full SHA for 94a4b72
packages/compass-e2e-tests/tests/collection-documents-tab.test.ts
@@ -10,6 +10,7 @@ import {
10
TEST_COMPASS_WEB,
11
skipForWeb,
12
DEFAULT_CONNECTION_NAME_1,
13
+ serverSatisfies,
14
} from '../helpers/compass';
15
import type { Compass } from '../helpers/compass';
16
import * as Selectors from '../helpers/selectors';
@@ -691,6 +692,9 @@ FindIterable<Document> result = collection.find(filter);`);
691
692
const REQUIRE_PHONE_VALIDATOR =
693
'{ $jsonSchema: { bsonType: "object", required: [ "phone" ] } }';
694
beforeEach(async function () {
695
+ if (serverSatisfies('< 5.0.0')) {
696
+ return this.skip();
697
+ }
698
await browser.setValidation({
699
connectionName: DEFAULT_CONNECTION_NAME_1,
700
database: 'test',
0 commit comments