From dd9cde3f83da9bd0176dbadd3e8cb4a4c73216b9 Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Mon, 3 Jun 2024 12:22:46 -0400 Subject: [PATCH] Revert data test subj changes Signed-off-by: Derek Ho --- public/apps/configuration/panels/get-started.tsx | 2 +- test/cypress/e2e/oidc/oidc_auth_test.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/apps/configuration/panels/get-started.tsx b/public/apps/configuration/panels/get-started.tsx index 44a5fa631..5903f88f6 100644 --- a/public/apps/configuration/panels/get-started.tsx +++ b/public/apps/configuration/panels/get-started.tsx @@ -183,7 +183,7 @@ export function GetStarted(props: AppDependencies) { selectedDataSource={dataSource} /> - +

Get started

diff --git a/test/cypress/e2e/oidc/oidc_auth_test.spec.js b/test/cypress/e2e/oidc/oidc_auth_test.spec.js index 4b31ecdb1..2228d2fbf 100644 --- a/test/cypress/e2e/oidc/oidc_auth_test.spec.js +++ b/test/cypress/e2e/oidc/oidc_auth_test.spec.js @@ -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', () => {