Closed Bug 1953903 Opened 1 month ago Closed 11 days ago

Fix tests/pdf_viewer/test_add_image_pdf.py

Categories

(Mozilla QA :: STArFox, defect, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tracy, Assigned: benchatt)

References

(Blocks 1 open bug)

Details

tests/pdf_viewer/test_add_image_pdf.py is failing on DevEd due to proper prefs not set to enable alt text, which is enabled by default in Beta/Release. Let's for it to work by setting the follow:
browser.ml.enable: Set to true (to enable local inference engine)
pdfjs.enableUpdatedAddImage: Set to true (to enable updated add image with alt text flow)

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED

Failing again in Fx137Beta9

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 1 month ago1 month ago
Resolution: --- → FIXED

This is failing again in CI/Beta and local runs

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

I couldn't figure out why this isn't working. However, I discovered that it's method, using pynput, for entering the location of the image file is leaving the picker dialog with "data" as default directory.. This test should clean up after itself and return default to "Downloads." That said, other tests like the csv export tests shouldn't assume the picker dialog defaults to anything in particular. Instead, those tests should set the location by entering full path, like this add image test does.

Assignee: twalker → bchatterton
Status: REOPENED → RESOLVED
Closed: 1 month ago11 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.