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
@@ -61,26 +61,25 @@ test('Verify that user can see the results found in the table view by default fo
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');
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
+
});
84
83
// Skipped due to issue https://redislabs.atlassian.net/browse/RI-3524
85
84
test.skip('Verify that user can switches between Table and Text for Client List and see results corresponding to their views',asynct=>{
.meta({env: env.desktop})('Verify that user can edit and run automatically added "FT._LIST" and "FT.INFO {index}" scripts in Workbench and see the results',asynct=>{
31
-
indexName=chance.word({length: 5});
32
-
keyName=chance.word({length: 5});
33
-
constcommandsForSend=[
34
-
`FT.CREATE ${indexName} ON HASH PREFIX 1 product: SCHEMA name TEXT`,
0 commit comments