Skip to content

Commit

Permalink
Fix flakyness in integrations spec
Browse files Browse the repository at this point in the history
  • Loading branch information
criamico committed Sep 1, 2022
1 parent d9cf2c5 commit f26bf22
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ describe('Add Integration - Real API', () => {

afterEach(() => {
cleanupAgentPolicies();
deleteIntegrations();
});

function addAndVerifyIntegration() {
Expand Down Expand Up @@ -134,7 +133,7 @@ describe('Add Integration - Real API', () => {
installPackageWithVersion('apache', oldVersion);
navigateTo(`app/integrations/detail/apache-${oldVersion}/policies`);

addIntegration({ useExistingPolicy: true });
addIntegration();

cy.getBySel(INTEGRATION_NAME_LINK).contains('apache-');
cy.getBySel(PACKAGE_VERSION).contains(oldVersion);
Expand Down

0 comments on commit f26bf22

Please sign in to comment.