Skip to content

Commit 594c5e5

Browse files
committed
move to desktop tests with ft.search
1 parent 9cede76 commit 594c5e5

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

tests/e2e/tests/critical-path/workbench/command-results.e2e.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ test('Verify that user can see the results found in the table view by default fo
7272
await t.expect(await workbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssTableViewTypeOption).visible).ok(`The table view is selected by default for command ${command}`);
7373
}
7474
});
75-
test('Verify that user can switches between views and see results according to the view rules in Workbench in results', async t => {
75+
test
76+
.meta({ env: env.desktop })('Verify that user can switches between views and see results according to the view rules in Workbench in results', async t => {
7677
indexName = chance.word({ length: 5 });
7778
const commands = [
7879
'hset doc:10 title "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud" url "redis.io" author "Test" rate "undefined" review "0" comment "Test comment"',

tests/e2e/tests/critical-path/workbench/default-scripts-area.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fixture `Default scripts area at Workbench`
2727
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
2828
});
2929
test
30-
.meta({ rte: rte.standalone })('Verify that user can edit and run automatically added "FT._LIST" and "FT.INFO {index}" scripts in Workbench and see the results', async t => {
30+
.meta({ env: env.desktop, rte: rte.standalone })('Verify that user can edit and run automatically added "FT._LIST" and "FT.INFO {index}" scripts in Workbench and see the results', async t => {
3131
indexName = chance.word({ length: 5 });
3232
keyName = chance.word({ length: 5 });
3333
const commandsForSend = [
@@ -55,7 +55,7 @@ test
5555
await t.expect(workbenchPage.queryColumns.textContent).contains('name', 'The result of the FT.INFO command');
5656
});
5757
test
58-
.meta({ rte: rte.standalone })('Verify that user can edit and run automatically added "Search" script in Workbench and see the results', async t => {
58+
.meta({ env: env.desktop, rte: rte.standalone })('Verify that user can edit and run automatically added "Search" script in Workbench and see the results', async t => {
5959
indexName = chance.word({ length: 5 });
6060
keyName = chance.word({ length: 5 });
6161
const commandsForSend = [
@@ -80,7 +80,7 @@ test
8080
await t.expect(name.exists).ok('The added key name field is in the Search result');
8181
});
8282
test
83-
.meta({ rte: rte.standalone })('Verify that user can edit and run automatically added "Aggregate" script in Workbench and see the results', async t => {
83+
.meta({ env: env.desktop, rte: rte.standalone })('Verify that user can edit and run automatically added "Aggregate" script in Workbench and see the results', async t => {
8484
indexName = chance.word({ length: 5 });
8585
const aggregationResultField = 'max_price';
8686
const commandsForSend = [

tests/e2e/tests/regression/workbench/command-results.e2e.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ const commandsForIndex = [
2020
'HMSET product:2 price 100'
2121
];
2222

23-
fixture `Command results at Workbench`
23+
// skip due to errors of FT.SEARCH issue https://redislabs.atlassian.net/browse/RI-3501
24+
fixture.skip `Command results at Workbench`
2425
.meta({type: 'regression', rte: rte.standalone })
2526
.page(commonUrl)
2627
.beforeEach(async t => {

tests/e2e/tests/regression/workbench/raw-mode.e2e.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ test
9090
await workbenchPage.checkWorkbenchCommandResult(commandsForSend[1], `"${unicodeValue}"`);
9191
});
9292
test
93+
.meta({ env: env.desktop })
9394
.before(async t => {
9495
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
9596
// Go to Workbench page

0 commit comments

Comments
 (0)