]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #99323 - GuillaumeGomez:fix-gui-flaky, r=Dylan-DPC
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 16 Jul 2022 20:30:55 +0000 (22:30 +0200)
committerGitHub <noreply@github.com>
Sat, 16 Jul 2022 20:30:55 +0000 (22:30 +0200)
Fix flakyness of GUI tests

Fixes #98163.

All flaky tests seemed to be linked to the search. Since the search JS is loaded when we focus the search input, I think it's possible that we enter faster than the JS is actually loaded. The solution for that would be to do it in two steps: first we write into the search input (`browser-ui-test` adds a small sleep time after such commands) and then we press enter to be sure that it wasn't missed.

cc `@JohnTitor`
r? `@Dylan-DPC`


Trivial merge