File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
tests/e2e/tests/critical-path/cli Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,9 @@ test('Verify that user can type TS. in Command helper and see commands from Redi
126
126
for ( let i = 0 ; i < commandsFilterCount ; i ++ ) {
127
127
timeSeriesCommands . push ( await cliPage . cliHelperOutputTitles . nth ( i ) . textContent ) ;
128
128
}
129
- //Reload Page
130
- await t . eval ( ( ) => location . reload ( ) ) ;
129
+ //Unselect group from list
130
+ await cliPage . selectFilterGroupType ( COMMAND_GROUP_TIMESERIES ) ;
131
131
//Search per command
132
- await t . click ( cliPage . cliExpandButton ) ;
133
132
await t . typeText ( cliPage . cliHelperSearch , commandForSearch ) ;
134
133
//Verify results in the output
135
134
const commandsCount = await cliPage . cliHelperOutputTitles . count ;
@@ -149,10 +148,9 @@ test('Verify that user can type GRAPH. in Command helper and see auto-suggestion
149
148
for ( let i = 0 ; i < commandsFilterCount ; i ++ ) {
150
149
graphCommands . push ( await cliPage . cliHelperOutputTitles . nth ( i ) . textContent ) ;
151
150
}
152
- //Reload Page
153
- await t . eval ( ( ) => location . reload ( ) ) ;
151
+ //Unselect group from list
152
+ await cliPage . selectFilterGroupType ( COMMAND_GROUP_GRAPH ) ;
154
153
//Search per command
155
- await t . click ( cliPage . cliExpandButton ) ;
156
154
await t . typeText ( cliPage . cliHelperSearch , commandForSearch ) ;
157
155
//Verify results in the output
158
156
const commandsCount = await cliPage . cliHelperOutputTitles . count ;
You can’t perform that action at this time.
0 commit comments