Closed Bug 2037657 Opened 6 months ago Closed 6 months ago

Prepare home tests for the SRD pref flip

Categories

(Firefox :: Settings UI, task)

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox152 --- fixed
firefox153 --- fixed

People

(Reporter: hjones, Assigned: hjones)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(2 external files)

We need to make sure our tests for home features in preferences will pass with the SRD pref enabled or disabled. We need to:

  • create a new browser-srd.toml file for sync tests that duplicates the old /browser/components/preferences/tests/home/browser.toml , but with dupe-manifest=true and the browser.settings-redesign.enabled pref set to true
  • register this manifest in browser/components/preferences/moz.build
  • remove any tests that already set browser.settings-redesign.enabled to true from the old browser.toml file since these don't need to work with the pref disabled
  • clean up any code setting the SRD pref from within the test files (this will be read from the manifest)
  • remove any tests from the new manifest that are only relevant to the old UI
  • fix any failing tests
  • add new tests if there are any obvious gaps
Blocks: 2037820
No longer blocks: srd-tests
Assignee: nobody → hjones
Status: NEW → ASSIGNED
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/84ab1b60641f https://hg.mozilla.org/integration/autoland/rev/ede508751f60 Revert "Bug 2037657 - Prepare Home tests for the SRD pref flip r=akulyk" for causing failures at browser_startup_browser_restore_session.js.

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: We want to ensure we have test coverage for the newly redesigned settings page
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: This is test code only it doesn't touch any user facing features
  • String changes made/needed?: No
  • Is Android affected?: no
Attachment #9588037 - Flags: approval-mozilla-beta?
Flags: needinfo?(hjones)
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Flags: in-testsuite+
Attachment #9588037 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: