The second one is intermittent but fails because clicking "search within pages" fails to do anything ~ 20% of the time— @dduval was able to reproduce this through repeated executions of the tests and by pausing at the "click search" step to initiate it manually.
Example where it fails is here: https://integration.wikimedia.org/ci/job/browsertests-MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/693/testReport/
Description
Description