Skip to content
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

Merged
merged 9 commits into from
May 23, 2024
Merged

[Share Modal ]fix flaky test #183679

merged 9 commits into from
May 23, 2024

Conversation

rshen91
Copy link
Contributor

@rshen91 rshen91 commented May 16, 2024

Summary

Closes #183566

@rshen91 rshen91 self-assigned this May 16, 2024
@rshen91
Copy link
Contributor Author

rshen91 commented May 16, 2024

/ci

@rshen91 rshen91 marked this pull request as ready for review May 20, 2024 17:33
@rshen91 rshen91 added release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) labels May 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@rshen91 rshen91 requested a review from tsullivan May 20, 2024 19:48

const url = await PageObjects.reporting.getReportURL(60000);
const res = await PageObjects.reporting.getResponse(url ?? '');
if (await PageObjects.share.isShareMenuOpen()) {
await PageObjects.share.closeShareModal();
Copy link
Contributor

@eokoneyo eokoneyo May 21, 2024

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

@rshen91 rshen91 requested a review from eokoneyo May 22, 2024 16:21
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @rshen91

@rshen91 rshen91 enabled auto-merge (squash) May 22, 2024 20:26
Copy link
Contributor

@eokoneyo eokoneyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code change LGTM

@rshen91 rshen91 merged commit 0941a7d into elastic:main May 23, 2024
17 checks passed
@kibanamachine kibanamachine added v8.15.0 backport:skip This commit does not require backporting labels May 23, 2024
@rshen91 rshen91 deleted the fix-flaky-test branch May 23, 2024 13:15
rshen91 added a commit to rshen91/kibana that referenced this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v8.15.0
Projects
None yet
5 participants