Skip to content

Commit

Permalink
Adjust parallelism for admin read and write and cache on login for AB…
Browse files Browse the repository at this point in the history
…#16867.
  • Loading branch information
BrianMaki committed Nov 19, 2024
1 parent f9054d5 commit b6117eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Apps/Admin/Tests/Functional/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Cypress.Commands.add("logout", () => {
});

Cypress.Commands.add("login", (username, password, path) => {
// Clear cookies and local storage before starting the login process
cy.clearCookies();
cy.clearLocalStorage();

cy.session(username, () => {
cy.log("Logging in using Keycloak.");
cy.readConfig().then((config) => {
Expand Down

0 comments on commit b6117eb

Please sign in to comment.