HomePhabricator

Fix flakey search in pages feature

Authored by Jdlrobson.

Description

Fix flakey search in pages feature

We seem to have forgotten that history.back is queued
Thus correct behaviour so this feature works as expected.
Also cleanup the browser test in the process to make it clearer to debug
in future

Changes:

  • the page "Selenium search test" exists step seems to actually visit this

page, so switch the order so we are on the correct starting page.

  • Add a step to explicitly check the ajax search request has finished.

Bug: T98476
Change-Id: I9abb8f57adb7d7e197a8a9e73aee0894ab407d57

Details