Skip to content

Commit

Permalink
Resolve test
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanGarriuz committed Jan 23, 2025
1 parent e5f5117 commit 8a5717f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/cypress/e2e/saml/saml_auth_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ describe('Log in via SAML', () => {
}
};

it('Login to app/opensearch_dashboards_overview#/ when SAML is enabled', () => {
it('Login to app/wz-home_overview#/ when SAML is enabled', () => {
localStorage.setItem('opendistro::security::tenant::saved', '"__user__"');
localStorage.setItem('home:newThemeModal:show', 'false');

cy.visit(`http://localhost:5601${basePath}/app/opensearch_dashboards_overview`, {
cy.visit(`http://localhost:5601${basePath}/app/wz-home_overview`, {
failOnStatusCode: false,
});

Expand Down Expand Up @@ -97,7 +97,7 @@ describe('Log in via SAML', () => {
it('Tenancy persisted after logout in SAML', () => {
localStorage.setItem('home:newThemeModal:show', 'false');

cy.visit(`http://localhost:5601${basePath}/app/opensearch_dashboards_overview`, {
cy.visit(`http://localhost:5601${basePath}/app/wz-home_overview`, {
failOnStatusCode: false,
});

Expand Down

0 comments on commit 8a5717f

Please sign in to comment.