Closed Bug 1877602 Opened 4 months ago Closed 4 months ago

Update the test cases in Customizable UI that are clicking on unlabeled toolbarbuttons

Categories

(Firefox :: Settings UI, task, P3)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The test "browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js" creates a test widget that has no label or tooltiptext property that is being clicked. But since its created toolbarbutton has no accessible name, it is being flagged by the a11y-checks. We could add "tooltiptext" property to make this test toolbarbutton accessible without triggering PanelMultiView to be adding header text, etc.

Since the issue will be resolved, we should also remove the fail-if notation from the test manifest.

The test "browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js" creates a test widget that has no label or tooltiptext property that is being clicked. But since its created toolbarbutton has no accessible name, it is being flagged by the a11y-checks. We could add "tooltiptext" property to make this test toolbarbutton accessible without triggering PanelMultiView to be adding header text, etc.

Since the issue will be resolved, we should also remove the fail-if notation from the test manifest.

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Summary: Update the test case browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js that clicks on an unlabeled toolbarbutton → Update the test cases in Customizable UI that are clicking on unlabeled toolbarbuttons

The same applies to the following test:

  1. browser/components/customizableui/test/browser_create_button_widget.js
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d509c9dd88b6
Update the test case browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js that clicks on an unlabeled toolbarbutton. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: