From 63f5870e063203bb5138bde00a9c1ef05e402546 Mon Sep 17 00:00:00 2001 From: Christos Nasikas Date: Mon, 15 Jan 2024 12:07:20 +0200 Subject: [PATCH] Fix bad test subj in functional test --- .../functional_with_es_ssl/apps/cases/group1/view_case.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts b/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts index 44300073d4ac1..cab3cc82e8a4b 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts +++ b/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts @@ -78,7 +78,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { // wait for backend response await retry.tryForTime(5000, async () => { - const title = await find.byCssSelector('[]'); + const title = await find.byCssSelector('[data-test-subj="editable-title-header-value"]'); expect(await title.getVisibleText()).equal(newTitle); }); @@ -1019,7 +1019,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { it('renders tabs correctly', async () => { await testSubjects.existOrFail('case-view-tab-title-activity'); await testSubjects.existOrFail('case-view-tab-title-files'); - // there are no alerts in stack management yet + await testSubjects.existOrFail('case-view-tab-title-alerts'); }); it('shows the "activity" tab by default', async () => {