Skip to content

Commit

Permalink
Adding check to ensure "Loading..." overlay screen is not present.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmartin24 committed Dec 21, 2023
1 parent 11b2200 commit 16595fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export function addRepository(repositoryName, repositoryURL, repositoryType, rep
cy.clickNavMenu(['Apps', 'Repositories'])
// Make sure we are in the 'Repositories' screen (test failed here before)
// Test fails sporadically here, screen stays in pending state forever
// Ensuring "Loading..." overlay screen is not present.
cy.contains('Loading...', {timeout: 35000}).should('not.exist');
cy.contains('header', 'Repositories')
.should('be.visible');
cy.contains('Create')
Expand Down

0 comments on commit 16595fa

Please sign in to comment.