@@ -38,13 +38,13 @@ test('Verify that if user has saved context on Browser page and go to Settings p
3838 await t . pressKey ( 'enter' ) ;
3939 await t . click ( myRedisDatabasePage . settingsButton ) ;
4040 // 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' ) ;
4343 // Open Browser page and verify context
4444 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` ) ;
4848 await t . click ( cliPage . cliCollapseButton ) ;
4949} ) ;
5050test ( '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
5555 await t . click ( myRedisDatabasePage . workbenchButton ) ;
5656 // Open Browser page and verify context
5757 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' ) ;
6060 // Navigate to Workbench and reload the window
6161 await t . click ( myRedisDatabasePage . workbenchButton ) ;
6262 await common . reloadPage ( ) ;
6363 // Return back to Browser and check context is not saved
6464 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' ) ;
6767} ) ;
0 commit comments