Closed Bug 1601001 Opened 5 years ago Closed 5 years ago

Make the legacy config tests either run with both configurations, or make sure they turn the modern preference off

Categories

(Firefox :: Search, task, P2)

task
Points:
3

Tracking

()

RESOLVED FIXED
Firefox 73
Iteration:
73.1 - Dec 2 - Dec 15
Tracking Status
firefox73 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files)

We have six tests that are currently run for the legacy configuration only:

  • test_maybereloadengine_update.js
  • test_maybereloadengine_update_distro.js
  • test_reloadEngines.js
  • test_geodefaults.js
  • test_hidden.js
  • test_webextensions_install.js

Although some of these are to do with the geo/absearch configuration in the legacy config, we may still want some or all of these tests for the modern configuration.

We should take a look at these and fix them to work with the modern configuration if that is appropriate. Alternately we should change them to force the modern config preference to false so that when we turn the pref on, they don't fail.

Iteration: --- → 73.1 - Dec 2 - Dec 15
Depends on: 1601633

(In reply to Mark Banner (:standard8) from comment #0)

We have six tests that are currently run for the legacy configuration only:

  • test_maybereloadengine_update.js
  • test_maybereloadengine_update_distro.js
  • test_reloadEngines.js
  • test_geodefaults.js
  • test_hidden.js
  • test_webextensions_install.js

Of these, I think test_webextensions_install.js is the main one we need to port. test_reloadEngines.js has some aspects, but we'll be adding new tests for those in bug 1542269 (rewriting the test here doesn't make sense).

The other tests are all specific to how ABSearch works, and we don't really need tests for those.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f5b3712e257e Make test_webextensions_install.js work with the modern search engine configuration. r=mikedeboer https://hg.mozilla.org/integration/autoland/rev/dc630cb2d7ee Ensure modern config is disabled when running tests against the legacy configuration. r=mikedeboer
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: