Merge pull request #6357 from backstage/blam/fix-tugboat-tests

chore: fixing hopefully fixing the cypress tugboat tests
This commit is contained in:
Ben Lambert
2021-07-06 14:08:36 +02:00
committed by GitHub
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ describe('Catalog', () => {
cy.visit('/catalog');
cy.contains('Owned (8)').should('be.visible');
cy.contains('Owned (10)').should('be.visible');
});
});
});
+9 -3
View File
@@ -27,8 +27,10 @@ describe('Integrations', () => {
type: 'url',
});
cy.wait(5000);
cy.visit('/catalog');
cy.contains('All').click();
cy.get('[data-testid="user-picker-all"]').click();
cy.get('table').should('contain', 'github-repo');
cy.get('table').should('contain', 'github-repo-nested');
});
@@ -52,8 +54,10 @@ describe('Integrations', () => {
type: 'url',
});
cy.wait(5000);
cy.visit('/catalog');
cy.contains('All').click();
cy.get('[data-testid="user-picker-all"]').click();
cy.get('table').should('contain', 'gitlab-repo');
cy.get('table').should('contain', 'gitlab-repo-nested');
});
@@ -67,8 +71,10 @@ describe('Integrations', () => {
type: 'url',
});
cy.wait(5000);
cy.visit('/catalog');
cy.contains('All').click();
cy.get('[data-testid="user-picker-all"]').click();
cy.get('table').should('contain', 'bitbucket-repo');
cy.get('table').should('contain', 'bitbucket-repo-nested');
});