Bug: Perma TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_<...>.js | Check the scheme box visibility - "hidden" == "visible" | Search string should be the urlbar value. | when Gecko 131 merges to beta on 2024-09-02
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2024-08-16 13:39:08+00:00
Resolved: 2024-08-23 14:25:14+00:00

[Central as beta simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=dd5c741b1cd75e88b2562db776d489eadf7602b9&selectedTaskRun=JhJxxgtLRt-AoKNWNSIVXQ.0&searchStr=Linux%2C18.04%2Cx64%2CWebRender%2Cdebug%2CMochitests%2Cwith%2Csoftware%2Cwebrender%2Cenabled%2Ctest-linux1804-64-qr%2Fdebug-mochitest-browser-chrome-swr%2Cbc12)

[How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log](https://treeherder.mozilla.org/logviewer?job_id=470652616&repo=try&lineNumber=21462)

also, there's additional failure lines on [late beta simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception&revision=dfbafd8daaa79b62b1d90cb9a12ec01ab4ff0ff7&selectedTaskRun=NbMdqxy6T4KdmuaUoyBSPg.0&searchStr=Linux%2C18.04%2Cx64%2CWebRender%2Cdebug%2CMochitests%2Cwith%2Csoftware%2Cwebrender%2Cenabled%2Ctest-linux1804-64-qr%2Fdebug-mochitest-browser-chrome-swr%2Cbc12)

[Failure log Late-Beta](https://treeherder.mozilla.org/logviewer?job_id=470622977&repo=try&lineNumber=22742)

```
TEST-PASS | browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js | Check the overflow side - "left" == "left" - 
[task 2024-08-16T12:48:20.760Z] 12:48:20     INFO - Buffered messages finished
[task 2024-08-16T12:48:20.761Z] 12:48:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js | Check the scheme box visibility - "hidden" == "visible" - 
[task 2024-08-16T12:48:20.761Z] 12:48:20     INFO - Stack trace:
[task 2024-08-16T12:48:20.761Z] 12:48:20     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js:testVal:76
[task 2024-08-16T12:48:20.761Z] 12:48:20     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js:null:122
[task 2024-08-16T12:48:20.761Z] 12:48:20     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-08-16T12:48:20.762Z] 12:48:20     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-08-16T12:48:20.762Z] 12:48:20     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-08-16T12:48:20.762Z] 12:48:20     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-08-16T12:48:20.762Z] 12:48:20     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-08-16T12:48:20.762Z] 12:48:20     INFO - Focus, change scroll position and blur, to ensure proper restore
[task 2024-08-16T12:48:20.763Z] 12:48:20     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js | Check the overflow side - "left" == "left" - 
```

```
TEST-PASS | browser/components/urlbar/tests/browser/browser_UrlbarInput_searchTerms_searchModeSwitcher.js | Extension ID of search provider should be set - "nondefault@tests.mozilla.org" == true - 
[task 2024-08-16T11:14:55.117Z] 11:14:55     INFO - Leaving setup bound 
[task 2024-08-16T11:14:55.119Z] 11:14:55     INFO - Entering test bound visibility_of_elements
[task 2024-08-16T11:14:55.120Z] 11:14:55     INFO - Waiting for the urlbar view to open
[task 2024-08-16T11:14:55.121Z] 11:14:55     INFO - Urlbar view opened
[task 2024-08-16T11:14:55.121Z] 11:14:55     INFO - Buffered messages logged at 11:14:55
[task 2024-08-16T11:14:55.124Z] 11:14:55     INFO - Load a tab with search terms persisting in the urlbar.
[task 2024-08-16T11:14:55.125Z] 11:14:55     INFO - Buffered messages finished
[task 2024-08-16T11:14:55.127Z] 11:14:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_searchTerms_searchModeSwitcher.js | Search string should be the urlbar value. - "www.example.com/?q=chocolate+cake" == "chocolate cake" - 
[task 2024-08-16T11:14:55.127Z] 11:14:55     INFO - Stack trace:
[task 2024-08-16T11:14:55.127Z] 11:14:55     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/head.js:assertSearchStringIsInUrlbar:319
[task 2024-08-16T11:14:55.127Z] 11:14:55     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/head.js:searchWithTab:381
[task 2024-08-16T11:14:55.127Z] 11:14:55     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_UrlbarInput_searchTerms_searchModeSwitcher.js:visibility_of_elements:44
[task 2024-08-16T11:14:55.127Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-08-16T11:14:55.127Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-08-16T11:14:55.128Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-08-16T11:14:55.128Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-08-16T11:14:55.128Z] 11:14:55     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-08-16T11:14:55.128Z] 11:14:55     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_searchTerms_searchModeSwitcher.js | Search terms should match. - "" == "chocolate cake" - 
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - Stack trace:
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/head.js:assertSearchStringIsInUrlbar:324
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/head.js:searchWithTab:381
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_UrlbarInput_searchTerms_searchModeSwitcher.js:visibility_of_elements:44
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-08-16T11:14:55.141Z] 11:14:55     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-08-16T11:14:55.142Z] 11:14:55     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_UrlbarInput_searchTerms_searchModeSwitcher.js | userTypedValue should match. - null == null - 
```