Skip to content

Commit fbdcf5b

Browse files
committed
fix
1 parent fdff988 commit fbdcf5b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/e2e/tests/web/regression/database-overview/database-overview-keys.e2e.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,15 @@ test
5454
await t.hover(workbenchPage.OverviewPanel.overviewTotalKeys);
5555
// Verify that user can see total number of keys and number of keys in current logical database
5656
await t.expect(browserPage.tooltip.visible).ok('Total keys tooltip not displayed');
57-
await browserActions.verifyTooltipContainsText(`${keysAmount + 1}`, true);
58-
await browserActions.verifyTooltipContainsText(`Total Keys`, true);
59-
await browserActions.verifyTooltipContainsText(`db1:${keysAmount}Keys`, true);
57+
await browserActions.verifyTooltipContainsText(`${keysAmount + 1}\nTotal Keys\ndb1:\n${keysAmount}\nKeys`, true);
6058

6159
// Open Database
6260
await t.click(myRedisDatabasePage.NavigationPanel.myRedisDBButton);
6361
await myRedisDatabasePage.clickOnDBByName(ossStandaloneRedisearch.databaseName);
6462
await t.hover(workbenchPage.OverviewPanel.overviewTotalKeys);
6563
// Verify that user can see total number of keys and not it current logical database (if there are no any keys in other logical DBs)
6664
await t.expect(browserPage.tooltip.visible).ok('Total keys tooltip not displayed');
67-
await browserActions.verifyTooltipContainsText(`${keysAmount + 1}`, true);
68-
await browserActions.verifyTooltipContainsText(`Total Keys`, true);
65+
await browserActions.verifyTooltipContainsText(`${keysAmount + 1}\nTotal Keys`, true);
6966
await browserActions.verifyTooltipContainsText('db1', false);
7067
});
7168
test

0 commit comments

Comments
 (0)