@@ -38,13 +38,13 @@ test('Verify that if user has saved context on Browser page and go to Settings p
38
38
await t . pressKey ( 'enter' ) ;
39
39
await t . click ( myRedisDatabasePage . settingsButton ) ;
40
40
// Verify that Browser and Workbench icons are displayed
41
- await t . expect ( await myRedisDatabasePage . browserButton . visible ) . ok ( 'Browser icon is not displayed' ) ;
42
- await t . expect ( await myRedisDatabasePage . workbenchButton . visible ) . ok ( 'Workbench icon is not displayed' ) ;
41
+ await t . expect ( myRedisDatabasePage . browserButton . visible ) . ok ( 'Browser icon is not displayed' ) ;
42
+ await t . expect ( myRedisDatabasePage . workbenchButton . visible ) . ok ( 'Workbench icon is not displayed' ) ;
43
43
// Open Browser page and verify context
44
44
await t . click ( myRedisDatabasePage . browserButton ) ;
45
- await t . expect ( await browserPage . filterByPatterSearchInput . withAttribute ( 'value' , keyName ) . exists ) . ok ( 'Filter per key name is not applied' ) ;
46
- await t . expect ( await browserPage . keyNameFormDetails . withExactText ( keyName ) . exists ) . ok ( 'The key details is not selected' ) ;
47
- await t . expect ( await cliPage . cliCommandExecuted . withExactText ( command ) . exists ) . ok ( `Executed command '${ command } ' in CLI is not saved` ) ;
45
+ await t . expect ( browserPage . filterByPatterSearchInput . withAttribute ( 'value' , keyName ) . exists ) . ok ( 'Filter per key name is not applied' ) ;
46
+ await t . expect ( browserPage . keyNameFormDetails . withExactText ( keyName ) . exists ) . ok ( 'The key details is not selected' ) ;
47
+ await t . expect ( cliPage . cliCommandExecuted . withExactText ( command ) . exists ) . ok ( `Executed command '${ command } ' in CLI is not saved` ) ;
48
48
await t . click ( cliPage . cliCollapseButton ) ;
49
49
} ) ;
50
50
test ( 'Verify that when user reload the window with saved context(on any page), context is not saved when he returns back to Browser page' , async t => {
@@ -55,13 +55,13 @@ test('Verify that when user reload the window with saved context(on any page), c
55
55
await t . click ( myRedisDatabasePage . workbenchButton ) ;
56
56
// Open Browser page and verify context
57
57
await t . click ( myRedisDatabasePage . browserButton ) ;
58
- await t . expect ( await browserPage . filterByPatterSearchInput . withAttribute ( 'value' , keyName ) . exists ) . ok ( 'Filter per key name is not applied' ) ;
59
- await t . expect ( await browserPage . keyNameFormDetails . withExactText ( keyName ) . exists ) . ok ( 'The key details is not selected' ) ;
58
+ await t . expect ( browserPage . filterByPatterSearchInput . withAttribute ( 'value' , keyName ) . exists ) . ok ( 'Filter per key name is not applied' ) ;
59
+ await t . expect ( browserPage . keyNameFormDetails . withExactText ( keyName ) . exists ) . ok ( 'The key details is not selected' ) ;
60
60
// Navigate to Workbench and reload the window
61
61
await t . click ( myRedisDatabasePage . workbenchButton ) ;
62
62
await common . reloadPage ( ) ;
63
63
// Return back to Browser and check context is not saved
64
64
await t . click ( myRedisDatabasePage . browserButton ) ;
65
- await t . expect ( await browserPage . filterByPatterSearchInput . withAttribute ( 'value' , keyName ) . exists ) . notOk ( 'Filter per key name is applied' ) ;
66
- await t . expect ( await browserPage . keyNameFormDetails . withExactText ( keyName ) . exists ) . notOk ( 'The key details is selected' ) ;
65
+ await t . expect ( browserPage . filterByPatterSearchInput . withAttribute ( 'value' , keyName ) . exists ) . notOk ( 'Filter per key name is applied' ) ;
66
+ await t . expect ( browserPage . keyNameFormDetails . withExactText ( keyName ) . exists ) . notOk ( 'The key details is selected' ) ;
67
67
} ) ;
0 commit comments