Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
Signed-off-by: yubonluo <[email protected]>
  • Loading branch information
yubonluo committed Nov 14, 2024
1 parent 73019ac commit 6561890
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,11 @@ if (Cypress.env('WORKSPACE_ENABLED')) {
WORKSPACE_TEST_ROLE_NAME,
workspaceTestRoleMapping
);
ADMIN_AUTH.newUser = NONE_DASHBOARDS_ADMIN_USERNAME;
ADMIN_AUTH.newPassword = workspaceTestUser.password;
});
beforeEach(() => {
// Login as non OSD admin user
ADMIN_AUTH.newUser = NONE_DASHBOARDS_ADMIN_USERNAME;
ADMIN_AUTH.newPassword = workspaceTestUser.password;
// Visit workspace initial page
miscUtils.visitPage(`/app/home`);
});
Expand Down

0 comments on commit 6561890

Please sign in to comment.