Skip to content

Commit 6150667

Browse files
authored
Merge pull request #1131 from RedisInsight/e2e/bugfix/fix-workbench-test
fix for workbench test
2 parents 0b1ef1b + ced1caa commit 6150667

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,16 @@ 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"',
7980
`FT.CREATE ${indexName} ON HASH PREFIX 1 doc: SCHEMA title TEXT WEIGHT 5.0 body TEXT url TEXT author TEXT rate TEXT review TEXT comment TEXT`,
8081
`FT.SEARCH ${indexName} * limit 0 10000`
8182
];
8283
//Send commands and check table view is default for Search command
83-
for(const command of commands) {
84+
for (const command of commands) {
8485
await workbenchPage.sendCommandInWorkbench(command);
8586
}
8687
await t.expect(await workbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssTableViewTypeOption).visible).ok('The table view is selected by default for command FT.SEARCH');

0 commit comments

Comments
 (0)