Skip to content

Commit

Permalink
Fix bad test subj in functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Jan 15, 2024
1 parent 48537b8 commit 63f5870
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down Expand Up @@ -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 () => {
Expand Down

0 comments on commit 63f5870

Please sign in to comment.