-
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
fix Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/group2/sync_colors·ts #150087
Conversation
…ional/apps/dashboard/group2/sync_colors·ts
@@ -25,9 +25,14 @@ export class DashboardAddPanelService extends FtrService { | |||
|
|||
async clickCreateNewLink() { | |||
this.log.debug('DashboardAddPanel.clickAddNewPanelButton'); | |||
await this.testSubjects.click('dashboardAddNewPanelButton'); | |||
// Give some time for the animation to complete | |||
await this.common.sleep(500); |
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.
Button used to open a modal, but that is no longer true so there is no animation to wait for.
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-presentation (Team:Presentation) |
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.
LGTM! Blind trust in the flaky test runner!
…ional/apps/dashboard/group2/sync_colors·ts (elastic#150087) Fixes elastic#148557 and elastic#148558 Flaky test runner https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1854 See elastic#148557 (comment) for explanation of failure. PR resolves flakiness by adding retry in clickCreateNewLink, ensuring clickCreateNewLink opens lens or else retries.
Fixes #148557 and #148558
Flaky test runner https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1854
See #148557 (comment) for explanation of failure. PR resolves flakiness by adding retry in clickCreateNewLink, ensuring clickCreateNewLink opens lens or else retries.