Closed Bug 1810653 Opened 1 year ago Closed 1 year ago

Update feature_callout_second_screen_positioned_left_of_element for the new screen it's testing

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

RESOLVED FIXED
111 Branch
Iteration:
111.1 - Jan 16 - Jan 27
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- fixed
firefox110 --- fixed
firefox111 --- fixed

People

(Reporter: aminomancer, Assigned: aminomancer)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

The test feature_callout_second_screen_positioned_left_of_element was originally written to test arrow_position: "end" but with the Colorways callouts removed, there are no messages with that position. So it's actually testing a screen with arrow_position: "bottom" but it's still comparing the left positions of the callout and parent, and still using the parent selector for the old tour screen 3 (the colorways card, which is now hidden). We should update this and maybe add another test that artificially sets arrow_position: "end" so it can be tested, while such messages are absent from the tree.

Though positioning a callout left of the parent is a bit awkward now, as every card on fx view is vertically oriented. With the removal of the colorways card, there is no right column anymore, just a central column divided into rows. So in test environments (which have very diminutive screen resolutions), there may not be room for a callout between the left edge of the viewport and the left edge of the central column. This may cause our test to require zooming out to make room (like the resize test)

Assignee: nobody → shughes
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1802918

See Also: → 1784343
Severity: -- → S3
Iteration: --- → 111.1 - Jan 16 - Jan 27
Priority: -- → P1
Attachment #9312538 - Attachment description: Bug 1810653 - Update feature callout left position tests. r=mviar! → Bug 1810653 - Update feature callout position tests. r=jprickett
Regressions: 1810888
No longer regressions: 1810888
Regressions: 1810892
No longer regressions: 1810892
Pushed by shughes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3a57c7222c05
Update feature callout position tests. r=jprickett
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Blocks: 1784343
Blocks: 1810720
See Also: → 1810892

The patch landed in nightly and beta is affected.
:aminomancer, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox110 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(shughes)

Comment on attachment 9312538 [details]
Bug 1810653 - Update feature callout position tests. r=jprickett

Beta/Release Uplift Approval Request

  • User impact if declined: None. The uplift is just necessary to relieve permanent test failures on mozilla-beta.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Only test files are affected, which have been verified to pass on Nightly and beta simulation
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(shughes)
Attachment #9312538 - Flags: approval-mozilla-beta?

Comment on attachment 9312538 [details]
Bug 1810653 - Update feature callout position tests. r=jprickett

Approved for 110 beta 3, thanks

Attachment #9312538 - 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: