Skip to content

Commit df11913

Browse files
committed
return desktop env to tests, not to fuxture
1 parent 8b006fb commit df11913

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

tests/e2e/tests/critical-path/workbench/index-schema.e2e.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const common = new Common();
1212
let indexName = common.generateWord(5);
1313

1414
fixture `Index Schema at Workbench`
15-
.meta({ type: 'critical_path', env: env.desktop, rte: rte.standalone })
15+
.meta({ type: 'critical_path', rte: rte.standalone })
1616
.page(commonUrl)
1717
.beforeEach(async t => {
1818
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
@@ -25,7 +25,8 @@ fixture `Index Schema at Workbench`
2525
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
2626
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
2727
});
28-
test('Verify that user can open results in Text and Table views for FT.INFO for Hash in Workbench', async t => {
28+
test
29+
.meta({ env: env.desktop })('Verify that user can open results in Text and Table views for FT.INFO for Hash in Workbench', async t => {
2930
indexName = common.generateWord(5);
3031
const commandsForSend = [
3132
`FT.CREATE ${indexName} ON HASH PREFIX 1 product: SCHEMA name TEXT`,
@@ -46,7 +47,8 @@ test('Verify that user can open results in Text and Table views for FT.INFO for
4647
// Check that result is displayed in Text view
4748
await t.expect(workbenchPage.queryTextResult.exists).ok('The result is displayed in Text view');
4849
});
49-
test('Verify that user can open results in Text and Table views for FT.INFO for JSON in Workbench', async t => {
50+
test
51+
.meta({ env: env.desktop })('Verify that user can open results in Text and Table views for FT.INFO for JSON in Workbench', async t => {
5052
indexName = common.generateWord(5);
5153
const commandsForSend = [
5254
`FT.CREATE ${indexName} ON JSON SCHEMA $.user.name AS name TEXT $.user.tag AS country TAG`,

tests/e2e/tests/critical-path/workbench/json-workbench.e2e.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const common = new Common();
1212
let indexName = common.generateWord(5);
1313

1414
fixture `JSON verifications at Workbench`
15-
.meta({ type: 'critical_path', env: env.desktop, rte: rte.standalone })
15+
.meta({ type: 'critical_path', rte: rte.standalone })
1616
.page(commonUrl)
1717
.beforeEach(async t => {
1818
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
@@ -25,7 +25,8 @@ fixture `JSON verifications at Workbench`
2525
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
2626
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
2727
});
28-
test('Verify that user can see result in Table and Text view for JSON data types for FT.AGGREGATE command in Workbench', async t => {
28+
test
29+
.meta({ env: env.desktop })('Verify that user can see result in Table and Text view for JSON data types for FT.AGGREGATE command in Workbench', async t => {
2930
indexName = common.generateWord(5);
3031
const commandsForSend = [
3132
`FT.CREATE ${indexName} ON JSON SCHEMA $.user.name AS name TEXT $.user.tag AS country TAG`,

0 commit comments

Comments
 (0)