Skip to content

Commit

Permalink
[Backport 4.4-2.3-wzd] Fix problems in the integration of Cypress and…
Browse files Browse the repository at this point in the history
… GitHub Actions (#4755)

Fix problems in the integration of Cypress and GitHub Actions (#4747)

* Editing before

* Checking erros

* Checking erros

(cherry picked from commit e74e5ef)

Co-authored-by: Mayons95 <[email protected]>
  • Loading branch information
github-actions[bot] and Mayons95 authored Oct 24, 2022
1 parent 315d43f commit bda3064
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions test/cypress/cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ before(() => {
login ? login() : cy.log(`Error! loginMethod: "${loginMethod}" is not recognized`);

if (Cypress.env('type') != 'odfe') {
cy.get('react-component[name="StatsOverview"]', { timeout: 15000 })
cy.get('react-component[name="OverviewWelcome"]', { timeout: 15000 })
cy.wait(15000);
validateURLIncludes(OVERVIEW_URL);
}
else {
Expand All @@ -75,11 +74,6 @@ beforeEach(() => {
});
})
cy.setSessionStorage('healthCheck', 'executed');

if (Cypress.env('type') == 'wzd') {
navigate("/");
cy.get('nav #selectAPIBar').select('mock');
}


})
)

0 comments on commit bda3064

Please sign in to comment.