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
Copy file name to clipboardExpand all lines: tests/e2e/tests/regression/database-overview/database-info.e2e.ts
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,17 @@ fixture `Database info tooltips`
24
24
});
25
25
test('Verify that user can see DB name, endpoint, connection type, Redis version, user name in tooltip when hover over the (i) icon',asynct=>{
26
26
constversion=/[0-9].[0-9].[0-9]/;
27
+
constlogicalDbText='Select logical databases to work with in Browser, Workbench, and Database Analysis.';
27
28
28
29
awaitt.hover(browserPage.databaseInfoIcon);
29
30
awaitt.expect(browserPage.databaseInfoToolTip.textContent).contains(ossStandaloneConfig.databaseName,'User can see database name in tooltip');
30
31
awaitt.expect(browserPage.databaseInfoToolTip.textContent).contains(`${ossStandaloneConfig.host}:${ossStandaloneConfig.port}`,'User can see endpoint in tooltip');
31
32
awaitt.expect(browserPage.databaseInfoToolTip.textContent).contains('Standalone','User can not see connection type in tooltip');
32
33
awaitt.expect(browserPage.databaseInfoToolTip.textContent).match(version,'User can not see Redis version in tooltip');
33
34
awaitt.expect(browserPage.databaseInfoToolTip.textContent).contains('Default','User can not see user name in tooltip');
35
+
// Verify that user can see the tooltip by hovering on index control switcher
36
+
awaitt.expect(browserPage.databaseInfoToolTip.textContent).contains('Logical Databases','Logical Databases text not displayed in tooltip');
37
+
awaitt.expect(browserPage.databaseInfoToolTip.textContent).contains(logicalDbText,'Logical Databases text not displayed in tooltip');
34
38
35
39
// Verify that user can see an (i) icon next to the database name on Browser and Workbench pages
36
40
awaitt.expect(browserPage.databaseInfoIcon.visible).ok('User can not see (i) icon on Browser page',{timeout: 10000});
0 commit comments