Skip to content

Commit

Permalink
Fix page object
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Sep 1, 2023
1 parent 679f2d3 commit 206bf46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/canvas/filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function canvasFiltersTest({ getService, getPageObjects }: FtrPro
before(async () => {
await kibanaServer.importExport.load(archive);
// load test workpad
await PageObjects.canvas.goToLoadingPage();
await PageObjects.canvas.goToListingPage();
await PageObjects.canvas.loadFirstWorkpad('Filter Debug Workpad');
});

Expand Down
1 change: 1 addition & 0 deletions x-pack/test/functional/page_objects/canvas_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function CanvasPageProvider({ getService, getPageObjects }: FtrProviderCo
// but navigateToUrl includes hash in the url which causes test flakiness
await PageObjects.common.navigateToUrl('canvas', '', {
ensureCurrentUrl: false,
shouldLoginIfPrompted: true,
});
await testSubjects.existOrFail('workpadListing');
},
Expand Down

0 comments on commit 206bf46

Please sign in to comment.