File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
cypress/e2e/ui/Settings/Application-Settings Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ const textConstants = {
7
7
8
8
// List items
9
9
schedulesAccordionItem : 'Schedules' ,
10
+ manageIQRegionAccordItem : / ^ M a n a g e I Q R e g i o n : / ,
10
11
11
12
// Field values
12
13
initialScheduleName : 'Test-name' ,
@@ -232,7 +233,11 @@ function interceptGetScheduleDetailsApi(scheduleName = initialScheduleName) {
232
233
) . as ( 'getCreatedScheduleApi' ) ;
233
234
// Triggering the action that will fire the API call,
234
235
// which is selecting the created schedule
235
- cy . accordionItem ( scheduleName ) ;
236
+ cy . selectAccordionItem ( [
237
+ manageIQRegionAccordItem ,
238
+ schedulesAccordionItem ,
239
+ scheduleName ,
240
+ ] ) ;
236
241
// Wait for the API call to complete if it was fired
237
242
// This is to ensure that the test does not fail if the request was not fired
238
243
cy . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments