Skip to content

Commit

Permalink
feat: only flesh tenant when security enabled (#1291)
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe authored May 8, 2024
1 parent 55a7845 commit 364ed5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cypress/utils/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,9 @@ Cypress.Commands.add('loadSampleData', (type) => {
});

Cypress.Commands.add('fleshTenantSettings', () => {
// Go to the home page to flesh the tenant settings
cy.visit(`/app/home`);
cy.waitForLoader();
if (Cypress.env('SECURITY_ENABLED')) {
// Go to the home page to flesh the tenant settings
cy.visit(`/app/home`);
cy.waitForLoader();
}
});

0 comments on commit 364ed5b

Please sign in to comment.