Skip to content

Commit

Permalink
wait routing take effect
Browse files Browse the repository at this point in the history
  • Loading branch information
icelandld committed Jun 18, 2024
1 parent 58bb8b7 commit 8be4830
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/e2e/route.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ describe('test for route creation', () => {
});
})

//FIXME: this test works in local but not in CI, response as 404 in CI
it('check route works', () => {
if (routeName) {
//FIXME: wait for the routing to take effect
cy.wait(1000);
const clientBase = `${Cypress.env('clientUrl')}`;
cy.visit(`${clientBase}/mock`);
cy.get('body').should('contain', 'httpbin.org');
Expand Down

0 comments on commit 8be4830

Please sign in to comment.