Skip to content

Commit

Permalink
Filter workpads in loadFirstWorkpad
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Sep 18, 2023
1 parent 86cbdd8 commit 21b910a
Showing 1 changed file with 1 addition and 0 deletions.
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 @@ -57,6 +57,7 @@ export function CanvasPageProvider({ getService, getPageObjects }: FtrProviderCo
*/
async loadFirstWorkpad(workpadName: string) {
log.debug('CanvasPage.loadFirstWorkpad', workpadName);
await testSubjects.setValue('tableListSearchBox', workpadName);
const elem = await testSubjects.find('canvasWorkpadTableWorkpad');
const text = await elem.getVisibleText();
expect(text).to.be(workpadName);
Expand Down

0 comments on commit 21b910a

Please sign in to comment.