Skip to content

Commit

Permalink
Fixed jest and cypress testing
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Dong <danieldong51@gmail.com>
  • Loading branch information
danieldong51 committed Aug 23, 2024
1 parent a48449a commit 0098607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/cypress/e2e/oidc/oidc_auth_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('Log in via OIDC', () => {
localStorage.setItem('opendistro::security::tenant::saved', '""');
localStorage.setItem('home:newThemeModal:show', 'false');

cy.get('h1.euiText--small').contains('Get started');
cy.get('h1').contains('Get started');
});

it('Tenancy persisted after logout in OIDC', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/cypress/e2e/saml/saml_auth_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('Log in via SAML', () => {

samlLogin();

cy.get('h1.euiText--small').contains('Get started');
cy.get('h1').contains('Get started');
cy.getCookie('security_authentication').should('exist');
});

Expand Down

0 comments on commit 0098607

Please sign in to comment.