Skip to content

Commit

Permalink
feat: only flesh tenant when security enabled (#1291) (#1296)
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
(cherry picked from commit 364ed5b)

Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
opensearch-trigger-bot[bot] and SuZhou-Joe authored May 8, 2024
1 parent 860c8df commit 17f54ed
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 @@ -566,7 +566,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 17f54ed

Please sign in to comment.