Conversation
|
@LeeDr switching between pages won't make any network requests. Is it possible this is happening before the fields are done loading the first time around? |
|
I watched and saw the spinner appear as I clicked through pages. Maybe it's not a network request but just loading data into the UI? |
|
hmm, I was sure I saw the spinner when I tested it earlier. But I just tried again and now I'm not seeing it as I page. |
|
jenkins, test it |
3 similar comments
|
jenkins, test it |
|
jenkins, test it |
|
jenkins, test it |
|
I've added another commit to fix another StaleElementReference in the data table tests; http://build-eu-00.elastic.co/job/kibana_core_pr/4433/console |
|
jenkins, test it |
|
jenkins, test it |
|
jenkins, test this |
2 similar comments
|
jenkins, test this |
|
jenkins, test this |
|
Last run elastic+kibana+master+multijob-pr-selenium build #36 ( 12 min ) passed |
|
jenkins, test this |
|
I ran this PR on my laptop overnight. 53 passes in a row with no failures. |
|
jenkins, test this |
|
Re-summarizing the changes; 1). I've added getSpinnerDone in 3 places where we've had test failures like StaleElementReference (means the page changed between finding an element and performing some action with it). |
|
LGTM |
--------- **Commit 1:** Add getSpinnerDone after clicking a new page in index pattern field list * Original sha: cfe8563 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-06-30T19:44:57Z **Commit 2:** Add a debug log so we can tell what page we're going to if we fail * Original sha: 583c890 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-06-30T20:13:56Z **Commit 3:** Try to fix another staleElementReference in data table test * Original sha: a8c1b4e * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-01T22:40:01Z **Commit 4:** Changes to fix settings page failure * Original sha: 7f5590a * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T20:46:00Z **Commit 5:** Merge branch 'master' into fixGoToPageTiming * Original sha: 39bcb7f * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T20:47:16Z **Commit 6:** Fix a headerPage typo, un-nest some promises. * Original sha: 2945d75 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T21:44:44Z **Commit 7:** change other headerPage to header * Original sha: 2953d84 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T22:14:12Z
--------- **Commit 1:** Add getSpinnerDone after clicking a new page in index pattern field list * Original sha: cfe8563 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-06-30T19:44:57Z **Commit 2:** Add a debug log so we can tell what page we're going to if we fail * Original sha: 583c890 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-06-30T20:13:56Z **Commit 3:** Try to fix another staleElementReference in data table test * Original sha: a8c1b4e * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-01T22:40:01Z **Commit 4:** Changes to fix settings page failure * Original sha: 7f5590a * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T20:46:00Z **Commit 5:** Merge branch 'master' into fixGoToPageTiming * Original sha: 39bcb7f * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T20:47:16Z **Commit 6:** Fix a headerPage typo, un-nest some promises. * Original sha: 2945d75 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T21:44:44Z **Commit 7:** change other headerPage to header * Original sha: 2953d84 * Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-07-06T22:14:12Z
Fix goToPage timing Former-commit-id: 58ec489
`v93.5.1` ⏩ `v93.5.2` --- ## [`v93.5.2`](https://github.com/elastic/eui/releases/v93.5.2) **Dependency updates** - Updated `react-virtualized-auto-sizer` to 1.0.24 ([#7598](elastic/eui#7598)) - Updated `react-window` to 1.8.10 ([#7600](elastic/eui#7600)) **CSS-in-JS conversions** - Updated EUI's internal style memoization/performance utility to have configurable error/warning levels via `setEuiDevProviderWarning` ([#7626](elastic/eui#7626))
Attempt to fix intermittent test failure when switching pages.
In this build;
http://build-eu-00.elastic.co/job/kibana_core_pr/4404/consoleFull
This StaleElementReference failure occurred in the
clickpart ofSettingsPage.goToPage.We already do have a 1 second sleep in the test;
But rather than add more sleep, we should generally wait for the spinner to be hidden after clicks which cause it to appear during page loading. Maybe we could even remove the 1 second sleep, but I'm not taking that out at this point.