Skip to content

Commit

Permalink
try other scroll into view method
Browse files Browse the repository at this point in the history
  • Loading branch information
sphilipse committed Jan 24, 2025
1 parent a020fab commit a394885
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/test/functional/page_objects/search_start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export function SearchStartProvider({ getService }: FtrProviderContext) {
},
async clickSkipButton() {
await testSubjects.existOrFail('createIndexSkipBtn');
await testSubjects.scrollIntoView('createIndexSkipBtn');
const element = await testSubjects.find('createIndexSkipBtn');
await element.scrollIntoView();
await testSubjects.click('createIndexSkipBtn');
},
async expectCreateIndexButtonToExist() {
Expand Down

0 comments on commit a394885

Please sign in to comment.