Bug: Intermittent browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-11-14 16:40:18+00:00
Resolved: 2024-03-18 12:02:48+00:00

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

---
```
[task 2023-11-14T16:18:13.168Z] 16:18:13     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | Should match expected checkbox state for translations-panel-settings-always-translate-language - 
[task 2023-11-14T16:18:13.168Z] 16:18:13     INFO - Checking that the page is translated
[task 2023-11-14T16:18:13.169Z] 16:18:13     INFO - Buffered messages finished
[task 2023-11-14T16:18:13.170Z] 16:18:13     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | The page's H1 is translated. - "DON QUIJOTE DE LA MANCHA [es to en, html]" == "Don Quijote de La Mancha" - 
[task 2023-11-14T16:18:13.170Z] 16:18:13     INFO - Stack trace:
[task 2023-11-14T16:18:13.171Z] 16:18:13     INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/translations-test.mjs:assertTranslationResult:84
[task 2023-11-14T16:18:13.171Z] 16:18:13     INFO - Ensuring that the translations button displays the language tag "en"
[task 2023-11-14T16:18:33.113Z] 16:18:33     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | Visibility for "button" - 
[task 2023-11-14T16:18:33.115Z] 16:18:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T16:18:33.117Z] 16:18:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | Visibility for "circleArrows" - Got true, expected false
[task 2023-11-14T16:18:33.117Z] 16:18:33     INFO - Stack trace:
[task 2023-11-14T16:18:33.117Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:test_is:1611
[task 2023-11-14T16:18:33.117Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertTranslationsButton:117
[task 2023-11-14T16:18:33.117Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertLangTagIsShownOnTranslationsButton:523
[task 2023-11-14T16:18:33.118Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertPageIsTranslated:80
[task 2023-11-14T16:18:33.118Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js:test_revisit_view_updates_with_auto_translate_success:42
[task 2023-11-14T16:18:33.118Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1134
[task 2023-11-14T16:18:33.118Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
[task 2023-11-14T16:18:33.118Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1348
[task 2023-11-14T16:18:33.118Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1123
[task 2023-11-14T16:18:33.118Z] 16:18:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-14T16:18:33.119Z] 16:18:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T16:18:33.121Z] 16:18:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | Visibility for "locale" - Got false, expected true
[task 2023-11-14T16:18:33.121Z] 16:18:33     INFO - Stack trace:
[task 2023-11-14T16:18:33.121Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:test_is:1611
[task 2023-11-14T16:18:33.121Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertTranslationsButton:117
[task 2023-11-14T16:18:33.121Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertLangTagIsShownOnTranslationsButton:523
[task 2023-11-14T16:18:33.121Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertPageIsTranslated:80
[task 2023-11-14T16:18:33.122Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js:test_revisit_view_updates_with_auto_translate_success:42
[task 2023-11-14T16:18:33.122Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1134
[task 2023-11-14T16:18:33.122Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
[task 2023-11-14T16:18:33.122Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1348
[task 2023-11-14T16:18:33.123Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1123
[task 2023-11-14T16:18:33.123Z] 16:18:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-14T16:18:33.124Z] 16:18:33     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | Visibility for "icon" - 
[task 2023-11-14T16:18:33.125Z] 16:18:33     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | The icon presents the locale. - 
[task 2023-11-14T16:18:33.126Z] 16:18:33     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | The expected language tag "en" is shown. - 
[task 2023-11-14T16:18:33.128Z] 16:18:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T16:18:33.130Z] 16:18:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | undefined assertion name - Got "urlbar-translations-button-loading", expected "urlbar-translations-button-translated"
[task 2023-11-14T16:18:33.130Z] 16:18:33     INFO - Stack trace:
[task 2023-11-14T16:18:33.130Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:test_is:1611
[task 2023-11-14T16:18:33.131Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertLangTagIsShownOnTranslationsButton:532
[task 2023-11-14T16:18:33.131Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertPageIsTranslated:80
[task 2023-11-14T16:18:33.131Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js:test_revisit_view_updates_with_auto_translate_success:42
[task 2023-11-14T16:18:33.132Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1134
[task 2023-11-14T16:18:33.132Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
[task 2023-11-14T16:18:33.132Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1348
[task 2023-11-14T16:18:33.133Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1123
[task 2023-11-14T16:18:33.133Z] 16:18:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-14T16:18:33.134Z] 16:18:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T16:18:33.136Z] 16:18:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | undefined assertion name - Got "", expected "{\"fromLanguage\":\"Spanish\",\"toLanguage\":\"English\"}"
[task 2023-11-14T16:18:33.137Z] 16:18:33     INFO - Stack trace:
[task 2023-11-14T16:18:33.137Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:test_is:1611
[task 2023-11-14T16:18:33.137Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertLangTagIsShownOnTranslationsButton:538
[task 2023-11-14T16:18:33.138Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertPageIsTranslated:80
[task 2023-11-14T16:18:33.138Z] 16:18:33     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js:test_revisit_view_updates_with_auto_translate_success:42
[task 2023-11-14T16:18:33.139Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1134
[task 2023-11-14T16:18:33.139Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
[task 2023-11-14T16:18:33.139Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1348
[task 2023-11-14T16:18:33.140Z] 16:18:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1123
[task 2023-11-14T16:18:33.142Z] 16:18:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-14T16:18:33.143Z] 16:18:33     INFO - Navigate to a page in an unsupported language
[task 2023-11-14T16:18:33.163Z] 16:18:33     INFO - GECKO(3475) | console.log: Translations: "Discarding translations, innerWindowId:" 38654705665
[task 2023-11-14T16:18:33.323Z] 16:18:33     INFO - Loading url: "https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-fr.html"
[task 2023-11-14T16:18:33.535Z] 16:18:33     INFO - GECKO(3475) | console.log: Translations: "maybeOfferTranslations - Do not offer translations in automation." "https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-fr.html"
[task 2023-11-14T16:18:33.556Z] 16:18:33     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_panel_auto_translate_revisit_view.js | The translations button should be unavailable. - 
```