Skip to content

Commit f7bec34

Browse files
Handled API wait for Schedules list item event
1 parent 90a0db9 commit f7bec34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cypress/e2e/ui/Settings/Application-Settings/schedule.cy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ describe('Automate Schedule form operations: Settings > Application Settings > S
5151
beforeEach(() => {
5252
cy.login();
5353
cy.menu('Settings', 'Application Settings');
54+
cy.intercept('POST', '/ops/tree_select?id=xx-msc&text=Schedules').as('getSchedules');
5455
cy.get('[title="Schedules"]').click();
56+
cy.wait('@getSchedules');
5557
});
5658

5759
it('Validate visibility of elements based on dropdown selections', () => {

0 commit comments

Comments
 (0)