-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Share Modal ]fix flaky test #183679
[Share Modal ]fix flaky test #183679
Conversation
/ci |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
|
||
const url = await PageObjects.reporting.getReportURL(60000); | ||
const res = await PageObjects.reporting.getResponse(url ?? ''); | ||
if (await PageObjects.share.isShareMenuOpen()) { | ||
await PageObjects.share.closeShareModal(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrapping closeShareModal
actually doesn't make a substantial difference, since it's definition already performs this a conditional check, see https://github.com/elastic/kibana/blob/main/test/functional/page_objects/share_page.ts#L20-L26
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @rshen91 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code change LGTM
Summary
Closes #183566