test: Fix Kanban test
This commit is contained in:
parent
49d7f132da
commit
8008afaf77
1 changed files with 1 additions and 0 deletions
|
|
@ -374,6 +374,7 @@ Cypress.Commands.add("update_doc", (doctype, docname, args) => {
|
||||||
Cypress.Commands.add("switch_to_user", (user) => {
|
Cypress.Commands.add("switch_to_user", (user) => {
|
||||||
cy.call("logout");
|
cy.call("logout");
|
||||||
cy.login(user);
|
cy.login(user);
|
||||||
|
cy.reload();
|
||||||
});
|
});
|
||||||
|
|
||||||
Cypress.Commands.add("add_role", (user, role) => {
|
Cypress.Commands.add("add_role", (user, role) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue