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
('Verify that when user opens the application he can see that Tree View is disabled by default(Browser is selected by default)',asynct=>{
25
28
//Verify that Browser view is selected by default and Tree view is disabled
26
-
awaitt.expect(browserPage.browserViewButton.withAttribute('active','true')).ok('The Browser is selected by default');
29
+
awaitt.expect(browserPage.browserViewButton.getStyleProperty('background-color')).eql('rgb(33, 37, 54)','The Browser is selected by default');
27
30
awaitt.expect(browserPage.treeViewArea.visible).notOk('The tree view is not displayed',{timeout: 20000});
28
31
});
29
32
test
@@ -32,56 +35,57 @@ test
32
35
awaitt.click(browserPage.treeViewButton);
33
36
awaitt.eval(()=>location.reload());
34
37
//Verify that "Tree view" mode enabled state is saved
35
-
awaitt.expect(browserPage.treeViewArea.visible).notOk('The tree view is not displayed');
38
+
awaitt.expect(browserPage.treeViewArea.visible).ok('The tree view is displayed');
36
39
});
37
40
test
38
41
.meta({rte: rte.standalone})
39
42
('Verify that user can see DB is automatically scanned by 10K keys in the background, user can see the number of keys scanned and use the "Scan More" button to search per another 10000 keys',asynct=>{
40
43
awaitt.click(browserPage.treeViewButton);
41
44
//Verify the scanned value
42
-
awaitt.expect(browserPage.treeViewScannedValue.textContent).contains('Scanned 10 000','The database is automatically scanned by 10K keys');
45
+
awaitt.expect(browserPage.scannedValue.textContent).eql('10 000','The database is automatically scanned by 10K keys');
43
46
//Verify that user can use the "Scan More" button to search per another 10000 keys
44
47
awaitt.click(browserPage.scanMoreButton);
45
-
awaitt.expect(browserPage.treeViewScannedValue.textContent).contains('Scanned 20 000','The database is automatically scanned by 10K keys');
48
+
awaitt.expect(browserPage.scannedValue.textContent).contains('20 000','The database is automatically scanned by 10K keys');
46
49
});
47
50
test
48
51
.meta({rte: rte.standalone})
49
-
('Verify that user can see that “:” (colon) used as a default separator for namespaces',asynct=>{
52
+
('Verify that user can see that “:” (colon) used as a default separator for namespaces and see the number of keys found per each namespace',asynct=>{
50
53
awaitt.click(browserPage.treeViewButton);
51
54
//Verify the default separator
52
-
awaitt.expect(browserPage.treeViewSeparator.visible).ok('The “:” (colon) used as a default separator for namespaces');
53
-
});
54
-
test
55
-
.meta({rte: rte.standalone})
56
-
('Verify that user can see the number of keys found per each namespace',asynct=>{
57
-
awaitt.click(browserPage.treeViewButton);
55
+
awaitt.expect(browserPage.treeViewSeparator.textContent).eql(':','The “:” (colon) used as a default separator for namespaces');
58
56
//Verify the number of keys found
59
57
awaitt.expect(browserPage.treeViewKeysNumber.visible).ok('The user can see the number of keys');
('Verify that when user enables filtering by key name he can see only folder with appropriate keys are displayed and the number of keys and percentage is recalculated',asynct=>{
('Verify that user can see message "No keys to display." when there are no keys in the database',asynct=>{
37
32
//Verify the message
38
-
awaitt.expect(browserPage.treeViewMessage.textContent).eql('No keys to display.','The message is displayed');
33
+
awaitt.click(browserPage.treeViewButton);
34
+
awaitt.expect(browserPage.keyListTable.textContent).contains('No keys to display.','The message is displayed');
39
35
});
40
-
test
36
+
//skipped due the issue
37
+
test.skip
41
38
.meta({rte: rte.standalone})
42
39
('Verify that user can see the total number of keys, the number of keys scanned, the “Scan more” control displayed at the top of Tree view and Browser view',asynct=>{
43
40
//Verify the controls on the Browser view
44
41
awaitt.expect(browserPage.totalKeysNumber.visible).ok('The total number of keys is displayed on the Browser view');
45
-
awaitt.expect(browserPage.keysScanned.visible).ok('The number of keys scanned is displayed on the Browser view');
42
+
awaitt.expect(browserPage.scannedValue.visible).ok('The number of keys scanned is displayed on the Browser view');
46
43
awaitt.expect(browserPage.scanMoreButton.visible).ok('The scan more button is displayed on the Browser view');
47
44
//Verify the controls on the Tree view
48
45
awaitt.click(browserPage.treeViewButton);
49
46
awaitt.expect(browserPage.totalKeysNumber.visible).ok('The total number of keys is displayed on the Tree view');
50
-
awaitt.expect(browserPage.keysScanned.visible).ok('The number of keys scanned is displayed on the Tree view');
47
+
awaitt.expect(browserPage.scannedValue.visible).ok('The number of keys scanned is displayed on the Tree view');
51
48
awaitt.expect(browserPage.scanMoreButton.visible).ok('The scan more button is displayed on the Tree view');
52
49
});
53
50
test
54
51
.meta({rte: rte.standalone})
55
52
('Verify that when user deletes the key he can see the key is removed from the folder, the number of keys is reduced, the percentage is recalculated',asynct=>{
0 commit comments