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 user can see message "No keys to display." when there are no keys in the database',asynct=>{
32
+
constmessage='No keys to display.Use Workbench Guides and Tutorials to quickly load the data.'
32
33
//Verify the message
33
34
awaitt.click(browserPage.treeViewButton);
34
-
awaitt.expect(browserPage.keyListTable.textContent).contains('No keys to display.','The message is displayed');
35
+
awaitt.expect(browserPage.keyListMessage.textContent).contains(message,'The message is displayed');
36
+
// Verify that workbench opened by clicking on "Use Workbench Guides and Tutorials" link
37
+
awaitt.click(browserPage.workbenchLinkButton);
38
+
awaitt.expect(workbenchPage.expandArea.visible).ok('Workbench page is not opened');
35
39
});
36
-
test
37
-
.meta({rte: rte.standalone})('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=>{
40
+
test('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=>{
awaitt.expect(browserPage.totalKeysNumber.visible).ok('The total number of keys is displayed on the Browser view');
@@ -46,8 +49,7 @@ test
46
49
awaitt.expect(browserPage.scannedValue.visible).ok('The number of keys scanned is displayed on the Tree view');
47
50
awaitt.expect(browserPage.scanMoreButton.visible).ok('The scan more button is displayed on the Tree view');
48
51
});
49
-
test
50
-
.meta({rte: rte.standalone})('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=>{
52
+
test('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=>{
51
53
//Open the first key in the tree view and remove
52
54
awaitt.click(browserPage.treeViewButton);
53
55
awaitt.expect(browserPage.treeViewDeviceFolder.visible).ok('The key folder is displayed',{timeout: 30000});
@@ -61,8 +63,7 @@ test
61
63
awaitt.expect(browserPage.treeViewDeviceFolder.nth(2).textContent).notEql(keyFolder,'The key folder is removed from the tree view');
62
64
awaitt.expect(browserPage.treeViewDeviceKyesCount.textContent).notEql(numberOfKeys,'The number of keys is recalculated');
63
65
});
64
-
test
65
-
.meta({rte: rte.standalone})('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=>{
66
+
test('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=>{
66
67
awaitt.click(browserPage.treeViewButton);
67
68
//Verify the default separator
68
69
awaitt.expect(browserPage.treeViewSeparator.textContent).eql(':','The “:” (colon) used as a default separator for namespaces');
0 commit comments