Bug: Perma [tier 2] browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Interactive elements must be labeled: id: , tagName: BUTTON, className: primary -
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2024-06-20 01:57:30+00:00
Resolved: 2024-07-29 06:22:17+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=463228391&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HkwzElv9TTKsWM0MhNsvuw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-06-20T01:25:06.279Z] 01:25:06     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector button.primary[data-l10n-id="fox-doodle-pin-primary"] - [object HTMLButtonElement] == true - 
[task 2024-06-20T01:25:06.279Z] 01:25:06     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector button.secondary[data-l10n-id="fox-doodle-pin-secondary"] - [object HTMLButtonElement] == true - 
[task 2024-06-20T01:25:06.280Z] 01:25:06     INFO - Buffered messages finished
[task 2024-06-20T01:25:06.281Z] 01:25:06     INFO - TEST-UNEXPECTED-FAIL | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Interactive elements must be labeled: id: , tagName: BUTTON, className: primary - 
[task 2024-06-20T01:25:06.281Z] 01:25:06     INFO - Stack trace:
[task 2024-06-20T01:25:06.281Z] 01:25:06     INFO - chrome://mochikit/content/browser-test.js:test_ok:1597
[task 2024-06-20T01:25:06.281Z] 01:25:06     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:752
[task 2024-06-20T01:25:06.281Z] 01:25:06     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertLabelled:966
[task 2024-06-20T01:25:06.281Z] 01:25:06     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1173
[task 2024-06-20T01:25:06.281Z] 01:25:06     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1137
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1254
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochitests/content/browser/browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js:waitForClick:127
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochitests/content/browser/browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js:test_spotlight_fox_doodle_set_to_default:146
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-06-20T01:25:06.282Z] 01:25:06     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-06-20T01:25:07.244Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Should call set default special message action and close window on primary button click - "SET_DEFAULT_BROWSER" deepEqual "SET_DEFAULT_BROWSER" - 
[task 2024-06-20T01:25:07.244Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | A click button event is sent after primary button click - "CLICK_BUTTON" == "CLICK_BUTTON" - 
[task 2024-06-20T01:25:07.245Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Event has a message id starting with FOX_DOODLE_SET_DEFAULT and ending with FOX_DOODLE_SET_DEFAULT_SCREEN - true == true - 
[task 2024-06-20T01:25:07.246Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Dispatches a SPOTLIGHT_TELEMETRY event - "SPOTLIGHT_TELEMETRY" == "SPOTLIGHT_TELEMETRY" - 
[task 2024-06-20T01:25:07.247Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Event is an IMPRESSSION for ASRouter frequency capping - "IMPRESSION" == "IMPRESSION" - 
[task 2024-06-20T01:25:07.248Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Dispatches an IMPRESSION event for telemetry - "IMPRESSION" == "IMPRESSION" - 
[task 2024-06-20T01:25:07.248Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Event has expected id of FOX_DOODLE_SET_DEFAULT - "FOX_DOODLE_SET_DEFAULT" == "FOX_DOODLE_SET_DEFAULT" - 
[task 2024-06-20T01:25:07.249Z] 01:25:07     INFO - Leaving test bound test_spotlight_fox_doodle_set_to_default
[task 2024-06-20T01:25:07.250Z] 01:25:07     INFO - Entering test bound test_spotlight_tail_fox_set_to_default
[task 2024-06-20T01:25:07.447Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector main.TAIL_FOX_SET_DEFAULT_SCREEN - [object HTMLElement] == true - 
[task 2024-06-20T01:25:07.448Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector img[src="chrome://activity-stream/content/data/content/assets/fox-doodle-tail.png"] - [object HTMLImageElement] == true - 
[task 2024-06-20T01:25:07.449Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector h1[data-l10n-id="tail-fox-spotlight-title"] - [object HTMLHeadingElement] == true - 
[task 2024-06-20T01:25:07.450Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector h2[data-l10n-id="tail-fox-spotlight-subtitle"] - [object HTMLHeadingElement] == true - 
[task 2024-06-20T01:25:07.451Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector button.primary[data-l10n-id="tail-fox-spotlight-primary-button"] - [object HTMLButtonElement] == true - 
[task 2024-06-20T01:25:07.452Z] 01:25:07     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Element present with selector button.secondary[data-l10n-id="tail-fox-spotlight-secondary-button"] - [object HTMLButtonElement] == true - 
[task 2024-06-20T01:25:07.455Z] 01:25:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-20T01:25:07.456Z] 01:25:07     INFO - TEST-UNEXPECTED-FAIL | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Interactive elements must be labeled: id: , tagName: BUTTON, className: primary - 
[task 2024-06-20T01:25:07.456Z] 01:25:07     INFO - Stack trace:
[task 2024-06-20T01:25:07.457Z] 01:25:07     INFO - chrome://mochikit/content/browser-test.js:test_ok:1597
[task 2024-06-20T01:25:07.457Z] 01:25:07     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:752
[task 2024-06-20T01:25:07.457Z] 01:25:07     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertLabelled:966
[task 2024-06-20T01:25:07.457Z] 01:25:07     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1173
[task 2024-06-20T01:25:07.457Z] 01:25:07     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1137
[task 2024-06-20T01:25:07.457Z] 01:25:07     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1254
[task 2024-06-20T01:25:07.457Z] 01:25:07     INFO - chrome://mochitests/content/browser/browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js:waitForClick:127
[task 2024-06-20T01:25:07.458Z] 01:25:07     INFO - chrome://mochitests/content/browser/browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js:test_spotlight_tail_fox_set_to_default:178
[task 2024-06-20T01:25:07.458Z] 01:25:07     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-06-20T01:25:07.458Z] 01:25:07     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-06-20T01:25:07.458Z] 01:25:07     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-06-20T01:25:07.458Z] 01:25:07     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-06-20T01:25:07.458Z] 01:25:07     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-06-20T01:25:08.577Z] 01:25:08     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_spotlight_default_messages.js | Should call set default special message action and close window on primary button click - "SET_DEFAULT_BROWSER" deepEqual "SET_DEFAULT_BROWSER" - 
```