Bug: Intermittent browser/components/translations/tests/browser/browser_translations_reader_mode.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-08-15 22:46:38+00:00
Resolved: 2023-09-29 18:53:34+00:00

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

---
```
[task 2023-08-15T20:10:52.004Z] 20:10:52     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_reader_mode.js
[task 2023-08-15T20:10:53.026Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Mocking RemoteSettings for the translations engine."
[task 2023-08-15T20:10:53.029Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Mocking language identification." ({langTag:"en", confidence:0.5})
[task 2023-08-15T20:10:53.167Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Getting remote language models."
[task 2023-08-15T20:10:53.174Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Remote language models loaded in 0.007 seconds." ({})
[task 2023-08-15T20:10:53.175Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "maybeOfferTranslations - Do not offer translations in automation." "https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html"
[task 2023-08-15T20:10:53.297Z] 20:10:53     INFO - TEST-INFO | started process screentopng
[task 2023-08-15T20:10:53.956Z] 20:10:53     INFO - TEST-INFO | screentopng: exit 0
[task 2023-08-15T20:10:53.960Z] 20:10:53     INFO - Buffered messages logged at 20:10:52
[task 2023-08-15T20:10:53.961Z] 20:10:53     INFO - Entering test bound test_translations_button_hidden_in_reader_mode
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - Buffered messages logged at 20:10:53
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The translations button is visible. - 
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The page's H1 is in Spanish. - "Don Quijote de La Mancha" == "Don Quijote de La Mancha" - 
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - Buffered messages finished
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_reader_mode.js | Reader mode button should be visible - Got true, expected false
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - Stack trace:
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - chrome://mochikit/content/browser-test.js:test_is:1608
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:toggleReaderMode:457
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_reader_mode.js:test_translations_button_hidden_in_reader_mode:29
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-08-15T20:10:53.964Z] 20:10:53     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-08-15T20:10:53.969Z] 20:10:53     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-08-15T20:10:53.969Z] 20:10:53     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-08-15T20:10:53.969Z] 20:10:53     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-08-15T20:10:53.970Z] 20:10:53     INFO - Clicking the reader-mode button
[task 2023-08-15T20:10:53.971Z] 20:10:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-08-15T20:10:53.973Z] 20:10:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_reader_mode.js | Uncaught exception in test bound test_translations_button_hidden_in_reader_mode - at chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:908 - Error: The button was hidden when trying to click it.
[task 2023-08-15T20:10:53.973Z] 20:10:53     INFO - Stack trace:
[task 2023-08-15T20:10:53.974Z] 20:10:53     INFO - click@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:908:11
[task 2023-08-15T20:10:53.975Z] 20:10:53     INFO - toggleReaderMode@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:466:8
[task 2023-08-15T20:10:53.976Z] 20:10:53     INFO - test_translations_button_hidden_in_reader_mode@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_reader_mode.js:29:9
[task 2023-08-15T20:10:53.976Z] 20:10:53     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-08-15T20:10:53.976Z] 20:10:53     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-08-15T20:10:53.977Z] 20:10:53     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-08-15T20:10:53.978Z] 20:10:53     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-08-15T20:10:53.984Z] 20:10:53     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-08-15T20:10:53.985Z] 20:10:53     INFO - Leaving test bound test_translations_button_hidden_in_reader_mode
[task 2023-08-15T20:10:53.985Z] 20:10:53     INFO - Entering test bound test_translations_persist_in_reader_mode
[task 2023-08-15T20:10:53.986Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Mocking RemoteSettings for the translations engine."
[task 2023-08-15T20:10:53.986Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Mocking language identification." ({langTag:"en", confidence:0.5})
[task 2023-08-15T20:10:53.988Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Getting remote language models."
[task 2023-08-15T20:10:53.990Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "Remote language models loaded in 0.019 seconds." ({})
[task 2023-08-15T20:10:53.991Z] 20:10:53     INFO - GECKO(25076) | console.log: Translations: "maybeOfferTranslations - Do not offer translations in automation." "https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html"
[task 2023-08-15T20:10:53.991Z] 20:10:53     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The translations button is visible. - 
[task 2023-08-15T20:10:54.063Z] 20:10:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The page's H1 is in Spanish. - "Don Quijote de La Mancha" == "Don Quijote de La Mancha" - 
[task 2023-08-15T20:10:54.063Z] 20:10:54     INFO - Opening the popup
[task 2023-08-15T20:10:54.071Z] 20:10:54     INFO - Waiting for the translations panel popup to be shown
[task 2023-08-15T20:10:54.447Z] 20:10:54     INFO - Start translating by clicking the translate button.
[task 2023-08-15T20:10:54.477Z] 20:10:54     INFO - Waiting for the translations panel popup to be shown
[task 2023-08-15T20:10:54.505Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "Getting remote bergamot-translator wasm records."
[task 2023-08-15T20:10:54.508Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "Beginning model downloads: \"es\" to \"en\""
[task 2023-08-15T20:10:54.513Z] 20:10:54     INFO - GECKO(25076) | console.log: Download requested: test-translation-models-3 model.esen.intgemm.alphas.bin
[task 2023-08-15T20:10:54.517Z] 20:10:54     INFO - GECKO(25076) | console.log: Download requested: test-translation-models-3 vocab.esen.spm
[task 2023-08-15T20:10:54.518Z] 20:10:54     INFO - GECKO(25076) | console.log: Download requested: test-translation-models-3 lex.50.50.esen.s2t.bin
[task 2023-08-15T20:10:54.523Z] 20:10:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The icon presents the loading indicator. - 
[task 2023-08-15T20:10:54.525Z] 20:10:54     INFO - Resolving 1 mocked downloads for "test-translation-wasm-4"
[task 2023-08-15T20:10:54.537Z] 20:10:54     INFO - GECKO(25076) | console.log: Download requested: test-translation-wasm-4 bergamot-translator
[task 2023-08-15T20:10:54.541Z] 20:10:54     INFO - GECKO(25076) | console.log: Handling download: test-translation-wasm-4
[task 2023-08-15T20:10:54.542Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "\"bergamot-translator\" wasm binary loaded in 0.037 seconds"
[task 2023-08-15T20:10:54.546Z] 20:10:54     INFO - Resolving 3 mocked downloads for "test-translation-models-3"
[task 2023-08-15T20:10:54.553Z] 20:10:54     INFO - GECKO(25076) | console.log: Handling download: test-translation-models-3
[task 2023-08-15T20:10:54.553Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "Translation model fetched in 0.041 seconds:" "es" "en" "model"
[task 2023-08-15T20:10:54.557Z] 20:10:54     INFO - GECKO(25076) | console.log: Handling download: test-translation-models-3
[task 2023-08-15T20:10:54.557Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "Translation model fetched in 0.046 seconds:" "es" "en" "vocab"
[task 2023-08-15T20:10:54.561Z] 20:10:54     INFO - GECKO(25076) | console.log: Handling download: test-translation-models-3
[task 2023-08-15T20:10:54.562Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "Translation model fetched in 0.05 seconds:" "es" "en" "lex"
[task 2023-08-15T20:10:54.586Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "Received initialization message" ({type:"initialization-success"})
[task 2023-08-15T20:10:54.590Z] 20:10:54     INFO - GECKO(25076) | console.log: Translations: "Beginning to translate." "https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html"
[task 2023-08-15T20:10:54.625Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["Translations Test"], messageId:1, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.625Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["Translations Test"], translations:["TRANSLATIONS TEST [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.631Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["Don Quijote de La Mancha"], messageId:2, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.634Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["Don Quijote de La Mancha"], translations:["DON QUIJOTE DE LA MANCHA [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.644Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["Cap\xEDtulo VIII."], messageId:3, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.644Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["Cap\xEDtulo VIII."], translations:["CAP\xCDTULO VIII. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.645Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["Del buen suceso que el valeroso don Quijote tuvo en la espantable y jam\xE1s imaginada aventura de los molinos de viento, con otros sucesos dignos de felice recordaci\xF3n"], messageId:4, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.646Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["Del buen suceso que el valeroso don Quijote tuvo en la espantable y jam\xE1s imaginada aventura de los molinos de viento, con otros sucesos dignos de felice recordaci\xF3n"], translations:["DEL BUEN SUCESO QUE EL VALEROSO DON QUIJOTE TUVO EN LA ESPANTABLE Y JAM\xC1S IMAGINADA AVENTURA DE LOS MOLINOS DE VIENTO, CON OTROS SUCESOS DIGNOS DE FELICE RECORDACI\xD3N [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.657Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["En esto, descubrieron treinta o cuarenta molinos de viento que hay en aquel campo; y, as\xED como don Quijote los vio, dijo a su escudero:"], messageId:5, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.658Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["En esto, descubrieron treinta o cuarenta molinos de viento que hay en aquel campo; y, as\xED como don Quijote los vio, dijo a su escudero:"], translations:["EN ESTO, DESCUBRIERON TREINTA O CUARENTA MOLINOS DE VIENTO QUE HAY EN AQUEL CAMPO; Y, AS\xCD COMO DON QUIJOTE LOS VIO, DIJO A SU ESCUDERO: [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.659Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["\u2014 La ventura va guiando nuestras cosas mejor de lo que acert\xE1ramos a desear, porque ves all\xED, amigo Sancho Panza, donde se descubren treinta, o pocos m\xE1s, desaforados gigantes, con quien pienso hacer batalla y quitarles a todos las vidas, con cuyos despojos comenzaremos a enriquecer; que \xE9sta es buena guerra, y es gran servicio de Dios quitar tan mala simiente de sobre la faz de la tierra."], messageId:6, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.661Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["\u2014 La ventura va guiando nuestras cosas mejor de lo que acert\xE1ramos a desear, porque ves all\xED, amigo Sancho Panza, donde se descubren treinta, o pocos m\xE1s, desaforados gigantes, con quien pienso hacer batalla y quitarles a todos las vidas, con cuyos despojos comenzaremos a enriquecer; que \xE9sta es buena guerra, y es gran servicio de Dios quitar tan mala simiente de sobre la faz de la tierra."], translations:["\u2014 LA VENTURA VA GUIANDO NUESTRAS COSAS MEJOR DE LO QUE ACERT\xC1RAMOS A DESEAR, PORQUE VES ALL\xCD, AMIGO SANCHO PANZA, DONDE SE DESCUBREN TREINTA, O POCOS M\xC1S, DESAFORADOS GIGANTES, CON QUIEN PIENSO HACER BATALLA Y QUITARLES A TODOS LAS VIDAS, CON CUYOS DESPOJOS COMENZAREMOS A ENRIQUECER; QUE \xC9STA ES BUENA GUERRA, Y ES GRAN SERVICIO DE DIOS QUITAR TAN MALA SIMIENTE DE SOBRE LA FAZ DE LA TIERRA. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.664Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["\u2014 \xBFQu\xE9 gigantes? \u2014dijo Sancho Panza."], messageId:7, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.664Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["\u2014 \xBFQu\xE9 gigantes? \u2014dijo Sancho Panza."], translations:["\u2014 \xBFQU\xC9 GIGANTES? \u2014DIJO SANCHO PANZA. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.664Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["\u2014 Aquellos que all\xED ves \u2014respondi\xF3 su amo\u2014 de los brazos largos, que los suelen tener algunos de casi dos leguas."], messageId:8, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.664Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["\u2014 Aquellos que all\xED ves \u2014respondi\xF3 su amo\u2014 de los brazos largos, que los suelen tener algunos de casi dos leguas."], translations:["\u2014 AQUELLOS QUE ALL\xCD VES \u2014RESPONDI\xD3 SU AMO\u2014 DE LOS BRAZOS LARGOS, QUE LOS SUELEN TENER ALGUNOS DE CASI DOS LEGUAS. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.667Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["\u2014 Mire vuestra merced \u2014respondi\xF3 Sancho\u2014 que aquellos que all\xED se parecen no son gigantes, sino molinos de viento, y lo que en ellos parecen brazos son las aspas, que, volteadas del viento, hacen andar la piedra del molino."], messageId:9, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.676Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["\u2014 Mire vuestra merced \u2014respondi\xF3 Sancho\u2014 que aquellos que all\xED se parecen no son gigantes, sino molinos de viento, y lo que en ellos parecen brazos son las aspas, que, volteadas del viento, hacen andar la piedra del molino."], translations:["\u2014 MIRE VUESTRA MERCED \u2014RESPONDI\xD3 SANCHO\u2014 QUE AQUELLOS QUE ALL\xCD SE PARECEN NO SON GIGANTES, SINO MOLINOS DE VIENTO, Y LO QUE EN ELLOS PARECEN BRAZOS SON LAS ASPAS, QUE, VOLTEADAS DEL VIENTO, HACEN ANDAR LA PIEDRA DEL MOLINO. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.678Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["\u2014 Bien parece \u2014respondi\xF3 don Quijote\u2014 que no est\xE1s cursado en esto de las aventuras: ellos son gigantes; y si tienes miedo, qu\xEDtate de ah\xED, y ponte en oraci\xF3n en el espacio que yo voy a entrar con ellos en fiera y desigual batalla."], messageId:10, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.679Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["\u2014 Bien parece \u2014respondi\xF3 don Quijote\u2014 que no est\xE1s cursado en esto de las aventuras: ellos son gigantes; y si tienes miedo, qu\xEDtate de ah\xED, y ponte en oraci\xF3n en el espacio que yo voy a entrar con ellos en fiera y desigual batalla."], translations:["\u2014 BIEN PARECE \u2014RESPONDI\xD3 DON QUIJOTE\u2014 QUE NO EST\xC1S CURSADO EN ESTO DE LAS AVENTURAS: ELLOS SON GIGANTES; Y SI TIENES MIEDO, QU\xCDTATE DE AH\xCD, Y PONTE EN ORACI\xD3N EN EL ESPACIO QUE YO VOY A ENTRAR CON ELLOS EN FIERA Y DESIGUAL BATALLA. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.681Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["Y, diciendo esto, dio de espuelas a su caballo Rocinante, sin atender a las voces que su escudero Sancho le daba, advirti\xE9ndole que, sin duda alguna, eran molinos de viento, y no gigantes, aquellos que iba a acometer. Pero \xE9l iba tan puesto en que eran gigantes, que ni o\xEDa las voces de su escudero Sancho ni echaba de ver, aunque estaba ya bien cerca, lo que eran; antes, iba diciendo en voces altas:"], messageId:11, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.686Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["Y, diciendo esto, dio de espuelas a su caballo Rocinante, sin atender a las voces que su escudero Sancho le daba, advirti\xE9ndole que, sin duda alguna, eran molinos de viento, y no gigantes, aquellos que iba a acometer. Pero \xE9l iba tan puesto en que eran gigantes, que ni o\xEDa las voces de su escudero Sancho ni echaba de ver, aunque estaba ya bien cerca, lo que eran; antes, iba diciendo en voces altas:"], translations:["Y, DICIENDO ESTO, DIO DE ESPUELAS A SU CABALLO ROCINANTE, SIN ATENDER A LAS VOCES QUE SU ESCUDERO SANCHO LE DABA, ADVIRTI\xC9NDOLE QUE, SIN DUDA ALGUNA, ERAN MOLINOS DE VIENTO, Y NO GIGANTES, AQUELLOS QUE IBA A ACOMETER. PERO \xC9L IBA TAN PUESTO EN QUE ERAN GIGANTES, QUE NI O\xCDA LAS VOCES DE SU ESCUDERO SANCHO NI ECHABA DE VER, AUNQUE ESTABA YA BIEN CERCA, LO QUE ERAN; ANTES, IBA DICIENDO EN VOCES ALTAS: [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.697Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["\u2014 Non fuyades, cobardes y viles criaturas, que un solo caballero es el que os acomete."], messageId:12, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.698Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["\u2014 Non fuyades, cobardes y viles criaturas, que un solo caballero es el que os acomete."], translations:["\u2014 NON FUYADES, COBARDES Y VILES CRIATURAS, QUE UN SOLO CABALLERO ES EL QUE OS ACOMETE. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.699Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["Levant\xF3se en esto un poco de viento y las grandes aspas comenzaron a moverse, lo cual visto por don Quijote, dijo:"], messageId:13, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.701Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["Levant\xF3se en esto un poco de viento y las grandes aspas comenzaron a moverse, lo cual visto por don Quijote, dijo:"], translations:["LEVANT\xD3SE EN ESTO UN POCO DE VIENTO Y LAS GRANDES ASPAS COMENZARON A MOVERSE, LO CUAL VISTO POR DON QUIJOTE, DIJO: [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.708Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["\u2014 Pues, aunque mov\xE1is m\xE1s brazos que los del gigante Briareo, me lo hab\xE9is de pagar."], messageId:14, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.709Z] 20:10:54     INFO - GECKO(25076) | console.log: "Translations:" "Translation complete" ({messageBatch:["\u2014 Pues, aunque mov\xE1is m\xE1s brazos que los del gigante Briareo, me lo hab\xE9is de pagar."], translations:["\u2014 PUES, AUNQUE MOV\xC1IS M\xC1S BRAZOS QUE LOS DEL GIGANTE BRIAREO, ME LO HAB\xC9IS DE PAGAR. [es to en, html]"], isHTML:true, innerWindowId:98784247809})
[task 2023-08-15T20:10:54.710Z] 20:10:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The icon presents the locale. - 
[task 2023-08-15T20:10:54.711Z] 20:10:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The English language tag is shown. - 
[task 2023-08-15T20:10:54.777Z] 20:10:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The pages H1 is translated. - "DON QUIJOTE DE LA MANCHA [es to en, html]" == "DON QUIJOTE DE LA MANCHA [es to en, html]" - 
[task 2023-08-15T20:10:54.778Z] 20:10:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | Reader mode button should be visible - 
[task 2023-08-15T20:10:54.779Z] 20:10:54     INFO - Clicking the reader-mode button
[task 2023-08-15T20:10:55.149Z] 20:10:55     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "resource://gre/modules/AboutReader.sys.mjs" line: 837}]
[task 2023-08-15T20:10:55.262Z] 20:10:55     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The page's H1 is now the translated reader-mode header - "TRANSLATIONS TEST [es to en, html]" == "TRANSLATIONS TEST [es to en, html]" - 
[task 2023-08-15T20:10:55.366Z] 20:10:55     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The page's last paragraph is in Spanish. - "— PUES, AUNQUE MOVÁIS MÁS BRAZOS QUE LOS DEL GIGANTE BRIAREO, ME LO HABÉIS DE PAGAR. [es to en, html]" == "— PUES, AUNQUE MOVÁIS MÁS BRAZOS QUE LOS DEL GIGANTE BRIAREO, ME LO HABÉIS DE PAGAR. [es to en, html]" - 
[task 2023-08-15T20:10:55.368Z] 20:10:55     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The translations button is now hidden in reader mode. - 
[task 2023-08-15T20:10:55.375Z] 20:10:55     INFO - GECKO(25076) | console.log: Translations: "Removing RemoteSettings mock for the translations engine."
[task 2023-08-15T20:10:55.375Z] 20:10:55     INFO - GECKO(25076) | console.log: Translations: "Removing language identification mock."
[task 2023-08-15T20:10:55.389Z] 20:10:55     INFO - GECKO(25076) | console.log: Translations: "Loading wasm simd detector worker."
[task 2023-08-15T20:10:55.407Z] 20:10:55     INFO - GECKO(25076) | console.log: "Translations:" "Received message" ({type:"discard-translation-queue", innerWindowId:98784247809})
[task 2023-08-15T20:10:55.441Z] 20:10:55     INFO - Leaving test bound test_translations_persist_in_reader_mode
[task 2023-08-15T20:10:55.963Z] 20:10:55     INFO - GECKO(25076) | MEMORY STAT | vsize 3742MB | residentFast 540MB | heapAllocated 343MB
[task 2023-08-15T20:10:55.966Z] 20:10:55     INFO - TEST-OK | browser/components/translations/tests/browser/browser_translations_reader_mode.js | took 3959ms
[task 2023-08-15T20:10:55.976Z] 20:10:55     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-08-15T20:10:55.976Z] 20:10:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_reader_mode.js | Found an unexpected tab at the end of test run: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html - 
[task 2023-08-15T20:10:56.017Z] 20:10:56     INFO - checking window state
[task 2023-08-15T20:10:56.047Z] 20:10:56     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_telemetry_firstrun_auto_translate.js
```