fix(ui_test): reload page after login instead of redirecting to /app (#26551)
- navigating to /app does an absolute navigation in cypress and doesn't forward url args
This commit is contained in:
parent
750b70b075
commit
3e8765d5d1
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ context("Navigation", () => {
|
|||
cy.get("@reload").get(".page-card .btn-primary").contains("Login").click();
|
||||
cy.location("pathname").should("eq", "/login");
|
||||
cy.login();
|
||||
cy.visit("/app");
|
||||
cy.reload().as("reload");
|
||||
cy.location("pathname").should("eq", "/app/todo");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue