Skip to content

Commit

Permalink
Revert data test subj changes
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Jun 3, 2024
1 parent 1b4003e commit dd9cde3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/apps/configuration/panels/get-started.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function GetStarted(props: AppDependencies) {
selectedDataSource={dataSource}
/>
<EuiPageHeader>
<EuiTitle size="l" data-test-subj="get-started">
<EuiTitle size="l">
<h1>Get started</h1>
</EuiTitle>
<ExternalLinkButton text="Open in new window" href={buildHashUrl()} />
Expand Down
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('[data-test-subj="get-started"]').should('exist');
cy.get('h1.euiTitle--large').contains('Get started');
});

it('Tenancy persisted after logout in OIDC', () => {
Expand Down

0 comments on commit dd9cde3

Please sign in to comment.