Skip to content

Commit

Permalink
Fix missing cy.origin() because of breaking changes in Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterEvarior committed Jan 22, 2025
1 parent 651cf2a commit 36eae2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/cypress/e2e/login.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ describe('okr login', () => {
});

it('should login and logout', () => {
cy.logout();
cy.origin('http://pitc.okr.localhost:4200', () => {
cy.logout();
});
cy.origin(Cypress.env('LOGIN_URL'), () => {
cy.url()
.should('include', Cypress.env('LOGIN_URL'));
Expand Down

0 comments on commit 36eae2a

Please sign in to comment.