Skip to content

Commit

Permalink
Fix FTR tests to account for new EuiPageHeader DOM order
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed May 11, 2023
1 parent 44a3e63 commit 041b5c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/apps/kibana_overview/_page_header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const items = await header.findAllByCssSelector('.kbnRedirectCrossAppLinks');
expect(items!.length).to.be(3);

const integrations = await items!.at(0);
const integrations = await items!.at(2);
await integrations!.click();
await PageObjects.common.waitUntilUrlIncludes('app/integrations/browse');
});
Expand All @@ -61,7 +61,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const header = await find.byCssSelector('.euiPageHeaderContent');
const items = await header.findAllByCssSelector('.kbnRedirectCrossAppLinks');

const devTools = await items!.at(2);
const devTools = await items!.at(0);
await devTools!.click();
await PageObjects.common.waitUntilUrlIncludes('app/dev_tools');
});
Expand Down

0 comments on commit 041b5c0

Please sign in to comment.