Bug: Perma [tier 2] browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Node is not accessible via accessibility API: id: searchmode-switcher-close, tagName: toolbarbutton, className: toolbarbutton-icon close-button -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2024-09-06 04:22:02+00:00
Resolved: 2024-09-06 04:30:15+00:00

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

---
```
[task 2024-09-03T15:57:01.407Z] 15:57:01     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Expected placeholder l10n when search mode is active - {"args":{"name":"Amazon.com"},"id":"urlbar-placeholder-search-mode-other-engine"} deepEqual {"id":"urlbar-placeholder-search-mode-other-engine","args":{"name":"Amazon.com"}} - 
[task 2024-09-03T15:57:01.408Z] 15:57:01     INFO - Press the close button and escape search mode
[task 2024-09-03T15:57:01.409Z] 15:57:01     INFO - Buffered messages finished
[task 2024-09-03T15:57:01.410Z] 15:57:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Node is not accessible via accessibility API: id: searchmode-switcher-close, tagName: toolbarbutton, className: toolbarbutton-icon close-button - 
[task 2024-09-03T15:57:01.410Z] 15:57:01     INFO - Stack trace:
[task 2024-09-03T15:57:01.410Z] 15:57:01     INFO - chrome://mochikit/content/browser-test.js:test_ok:1597
[task 2024-09-03T15:57:01.410Z] 15:57:01     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:752
[task 2024-09-03T15:57:01.411Z] 15:57:01     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1161
[task 2024-09-03T15:57:01.411Z] 15:57:01     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1137
[task 2024-09-03T15:57:01.411Z] 15:57:01     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1254
[task 2024-09-03T15:57:01.412Z] 15:57:01     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_navigate_switcher:230
[task 2024-09-03T15:57:01.412Z] 15:57:01     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_keyboard_nav:258
[task 2024-09-03T15:57:01.412Z] 15:57:01     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-09-03T15:57:01.412Z] 15:57:01     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-09-03T15:57:01.412Z] 15:57:01     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-09-03T15:57:01.412Z] 15:57:01     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-09-03T15:57:01.413Z] 15:57:01     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-09-03T15:57:01.414Z] 15:57:01     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Urlbar should never be in search mode without the corresponding attribute. - false == false - 
```