You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -49,7 +49,7 @@ test('Verify that user can see re-run icon near the already executed command and
49
49
// Verify that user can delete command with result from table with results in Workbench
50
50
awaitt.expect(workbenchPage.queryCardCommand.withExactText(commandForSend2).exists).notOk(`Command ${commandForSend2} is not deleted from table with results`);
51
51
});
52
-
test.only('Verify that user can see the results found in the table view by default for FT.INFO, FT.SEARCH and FT.AGGREGATE',asynct=>{
52
+
test('Verify that user can see the results found in the table view by default for FT.INFO, FT.SEARCH and FT.AGGREGATE',asynct=>{
53
53
constcommands=[
54
54
'FT.INFO',
55
55
'FT.SEARCH',
@@ -61,28 +61,26 @@ test.only('Verify that user can see the results found in the table view by defau
61
61
awaitt.expect(awaitworkbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssTableViewTypeOption).visible).ok(`The table view is not selected by default for command ${command}`);
62
62
}
63
63
});
64
-
test
65
-
.meta({env: env.desktop})('Verify that user can switches between views and see results according to the view rules in Workbench in results',asynct=>{
66
-
indexName=common.generateWord(5);
67
-
constcommands=[
68
-
'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"',
69
-
`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`,
70
-
`FT.SEARCH ${indexName} * limit 0 10000`
71
-
];
64
+
test('Verify that user can switches between views and see results according to the view rules in Workbench in results',asynct=>{
65
+
indexName=common.generateWord(5);
66
+
constcommands=[
67
+
'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"',
68
+
`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`,
69
+
`FT.SEARCH ${indexName} * limit 0 10000`
70
+
];
72
71
// Send commands and check table view is default for Search command
awaitt.expect(awaitworkbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssTableViewTypeOption).visible).ok('The table view is not selected by default for command FT.SEARCH');
77
-
awaitt.switchToIframe(workbenchPage.iframe);
78
-
awaitt.expect(awaitworkbenchPage.queryTableResult.visible).ok('The table result is not displayed for command FT.SEARCH');
79
-
// Select Text view and check result
80
-
awaitt.switchToMainWindow();
81
-
awaitworkbenchPage.selectViewTypeText();
82
-
awaitt.expect(awaitworkbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssQueryTextResult).visible).ok('The result is not displayed in Text view');
83
-
});
84
-
// Skipped due to issue https://redislabs.atlassian.net/browse/RI-3524
85
-
test.skip('Verify that user can switches between Table and Text for Client List and see results corresponding to their views',asynct=>{
awaitt.expect(awaitworkbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssTableViewTypeOption).visible).ok('The table view is not selected by default for command FT.SEARCH');
76
+
awaitt.switchToIframe(workbenchPage.iframe);
77
+
awaitt.expect(awaitworkbenchPage.queryTableResult.visible).ok('The table result is not displayed for command FT.SEARCH');
78
+
// Select Text view and check result
79
+
awaitt.switchToMainWindow();
80
+
awaitworkbenchPage.selectViewTypeText();
81
+
awaitt.expect(awaitworkbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssQueryTextResult).visible).ok('The result is not displayed in Text view');
82
+
});
83
+
test('Verify that user can switches between Table and Text for Client List and see results corresponding to their views',asynct=>{
0 commit comments