-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Failing Test] Fixes Spaces Data Before All Failure (#147519)
Fixes #52714 Fixes #52715 After all failure likely due to before failure - when before fails, the data set is not installed and cannot be removed. Before all failure seems likely to be a race condition of one or more elements being 'not interactable'. I was unable to reproduce the issue locally and via a [Flaky Test Runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1646), but walking through the code noticed an incorrect attribute reference and a few places where we could improve determinism. - Replaced 'showSampleDataAccordion'->'class' check with 'showSampleDataButton'->'aria-expanded' - Added deterministic verification of sample data accordion open - Mirrored previous timing/enable check fix to 'removeSampleDataSet' in 'addSampleDataSet' - Improved determinism in 'removeSampleDataSet', adding an initial check for whether the data set was installed - Added additional debug logs to improve any future troubleshooting Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
e337638
commit c2be109
Showing
1 changed file
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters