Skip to content

Commit

Permalink
Visit directly
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Apr 21, 2024
1 parent 9aa2e58 commit c5db062
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/cypress/e2e/oidc/oidc_auth_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('Log in via OIDC', () => {
});

it('Login to app/dev_tools#/console when OIDC is enabled', () => {
cy.visit(`http://localhost:5601${basePath}/app/opensearch_dashboards_overview`, {
cy.visit(`http://localhost:5601${basePath}/app/dev_tools#/console`, {
failOnStatusCode: false,
});

Expand All @@ -65,12 +65,6 @@ describe('Log in via OIDC', () => {
localStorage.setItem('opendistro::security::tenant::saved', '""');
localStorage.setItem('home:newThemeModal:show', 'false');

cy.url().then(() => {
cy.visit(`http://localhost:5601${basePath}/app/dev_tools#/console`, {
failOnStatusCode: false,
});
});

cy.get('a').contains('Dev Tools').should('be.visible');
});

Expand Down

0 comments on commit c5db062

Please sign in to comment.