Closed Bug 1682634 Opened 3 years ago Closed 3 years ago

Add test coverage for screenshot dimensions

Categories

(Firefox :: Screenshots, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: sfoster, Assigned: sfoster)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

We need some tests that cover the full page, partial page and cropping UI. The only tests enabled currently are smoke tests that verify the screenshots button is in the page actions menu.

Severity: -- → S4
Status: NEW → ASSIGNED
Priority: -- → P2
Depends on: 1692626
Blocks: 1692626
No longer depends on: 1692626
Attachment #9193398 - Attachment description: Bug 1682634 - Add a mochitest-chrome test for the screenshot flow and result dimensions → WIP: Bug 1682634 - Add a mochitest-chrome test for the screenshot flow and result dimensions
Attachment #9193398 - Attachment description: WIP: Bug 1682634 - Add a mochitest-chrome test for the screenshot flow and result dimensions → Bug 1682634 - Add a mochitest-chrome test for the screenshot flow and result dimensions. r?emalysz
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/64e8532c9a0b
Add a mochitest-chrome test for the screenshot flow and result dimensions. r=emalysz
Depends on: 1714234

(In reply to Cristian Brindusan [:cbrindusan] from comment #4)

Backed out changeset 64e8532c9a0b (bug 1682634) for causing bc failures in browser_screenshots_dimensions.js.

Thanks for the backout. I "fixed" 2 issues there - thetodo_is assertions apparently do resolve true on some platforms/configs.
And the tsan timeouts. This try push looks good now.

Flags: needinfo?(sfoster)
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5095216d84d5
Add a mochitest-chrome test for the screenshot flow and result dimensions. r=emalysz
Regressions: 1714295
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: