Prepare ai features tests for the SRD pref flip
Categories
(Firefox :: Settings UI, task)
Tracking
()
People
(Reporter: hjones, Assigned: fterdal)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(2 external files)
We need to make sure our tests for AI features in preferences will pass with the SRD pref enabled or disabled. We need to:
- create a new
browser-srd.tomlfile for sync tests that duplicates the old/browser/components/preferences/tests/aiFeatures/browser.toml, but withdupe-manifest=trueand thebrowser.settings-redesign.enabledpref set totrue - register this manifest in
browser/components/preferences/moz.build - remove any tests that already set
browser.settings-redesign.enabledtotruefrom the oldbrowser.tomlfile 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
Updated•6 months ago
|
| Reporter | ||
Updated•6 months ago
|
Comment 1•6 months ago
|
||
The AI controls pane has always been config based, so this one should work as a duplicate of browser.toml exactly (with the pref flip)
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 2•6 months ago
|
||
Duplicates the AI features browser-chrome manifest so the suite runs under
both browser.settings-redesign.enabled=false (legacy) and =true (SRD). Same
test files on both sides via dupe-manifest=true; the AI features pane is
config-based and renders identically under either pref state.
Also removes a stray no-op pushPrefEnv for "browser.settings-redesign.enable"
(typo, missing trailing "d") from browser_aiFeatures_visibility.js — the
manifest now owns the pref.
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 4•6 months ago
|
||
| bugherder | ||
Comment 5•6 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: This is to ensure that the testing is also run on the Beta branch.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: This patch is for running the AI tests without the SRD prefs, so there should be no user-facing changes.
- Risk associated with taking this patch: low
- Explanation of risk level: The tests already pass with or without the SRD pref flipped, so there shouldn't be any regressions, this is just a code re-organization patch.
- String changes made/needed?: No
- Is Android affected?: no
| Assignee | ||
Comment 6•6 months ago
|
||
Duplicates the AI features browser-chrome manifest so the suite runs under
both browser.settings-redesign.enabled=false (legacy) and =true (SRD). Same
test files on both sides via dupe-manifest=true; the AI features pane is
config-based and renders identically under either pref state.
Also removes a stray no-op pushPrefEnv for "browser.settings-redesign.enable"
(typo, missing trailing "d") from browser_aiFeatures_visibility.js — the
manifest now owns the pref.
Original Revision: https://phabricator.services.mozilla.com/D299886
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 8•6 months ago
|
||
We noticed that the "qe-verify+" label was added. Can this issue be verified manually? If so, could you please provide specific steps for manual verification?
Comment 9•6 months ago
|
||
(In reply to Brindusa Tot, DTE from comment #8)
We noticed that the "qe-verify+" label was added. Can this issue be verified manually? If so, could you please provide specific steps for manual verification?
Removing the qe-verify+ since this is related to automated tests.
Description
•