File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
tests/e2e/tests/web/regression/database-overview Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 54
54
await t . hover ( workbenchPage . OverviewPanel . overviewTotalKeys ) ;
55
55
// Verify that user can see total number of keys and number of keys in current logical database
56
56
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 ) ;
60
58
61
59
// Open Database
62
60
await t . click ( myRedisDatabasePage . NavigationPanel . myRedisDBButton ) ;
63
61
await myRedisDatabasePage . clickOnDBByName ( ossStandaloneRedisearch . databaseName ) ;
64
62
await t . hover ( workbenchPage . OverviewPanel . overviewTotalKeys ) ;
65
63
// 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)
66
64
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 ) ;
69
66
await browserActions . verifyTooltipContainsText ( 'db1' , false ) ;
70
67
} ) ;
71
68
test
You can’t perform that action at this time.
0 commit comments