Skip to content

Commit

Permalink
test: [M3-8227] - Prevent Cypress failures when cy.visit hits non-2…
Browse files Browse the repository at this point in the history
…00 response (linode#10562)

* Prevent Cypress failures when `cy.visit` request responds with bad status code

* Added changeset: Improve Cypress test suite compatibility against alternative environments
  • Loading branch information
jdamore-linode authored Jun 12, 2024
1 parent 2692d92 commit c9a970e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10562-tests-1718047447893.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Improve Cypress test suite compatibility against alternative environments ([#10562](https://github.com/linode/manager/pull/10562))
1 change: 1 addition & 0 deletions packages/manager/cypress/support/setup/login-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Cypress.Commands.add(
);
}
},
failOnStatusCode: false,
};

if (resolvedLinodeOptions.preferenceOverrides) {
Expand Down

0 comments on commit c9a970e

Please sign in to comment.