Test search engines
💣 Test
Description
Follow up from !1640 (comment 3247712).
Search is continuously changing upstream.
Having tests to deal with the changes seems a wonderful idea.
Scenarios
- Test that we get exactly the search engines we expect from our configuration
- Check the default search engine
- check that each search engine is giving out exactly a certain URL for the search (i.e., no strange parameters that might leak stuff, like the locale)
- for this it'd be good to change the browser language, when en-US isn't the only available one
- set safest and check that DDG is going to the HTML version
- this might be part of the security level though, as Mullvad Browser would need the same test
- we might want either to patch security level to ignore the restart in automation, or use marionette, or change the pref and ignore any notification
/cc @brizental @henry