Closed Bug 1924192 Opened 24 days ago Closed 16 days ago

Set up infrastructure for Translations end-to-end testing in Firefox CI

Categories

(Firefox :: Translations, task, P2)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

(Blocks 2 open bugs, Regressed 1 open bug)

Details

Attachments

(5 files, 2 obsolete files)

Description

With upcoming modifications to the Translations inference engine and WASM bindings to support CJK translations, there is a stronger need to have end-to-end testing in Firefox CI to ensure that our latest inference-engine WASM binary runs successfully.

We should implement a way to run the actual inference engine in some CI tests, rather than just a mocked engine.


Steps to implement

  • Split Translations tests into their own test group.
  • Fetch Translations artifacts from Remote Settings for use in CI.
  • Define a new end-to-end test that utilizes the real inference engine.

Depends on D225415

See Also: → 1821488
Attached file WIP: Bug 1924192 - Try to fix fetches (obsolete) —

Depends on D225415

Attachment #9430877 - Attachment is obsolete: true
Attachment #9431366 - Attachment description: WIP: Bug 1924192 - Vendor taskcluster_taskgragph v11.2.3 → Bug 1924192 - Vendor taskcluster_taskgragph v11.2.3
Attachment #9430490 - Attachment description: WIP: Bug 1924192 - Create mochitest-browser-translations test definition → Bug 1924192 - Create mochitest-browser-translations test definition
Attachment #9430491 - Attachment description: WIP: Bug 1924192 - Define fetch task for Translations e2e tests → Bug 1924192 - Define fetch task for Translations e2e tests
Attachment #9430492 - Attachment description: WIP: Bug 1924192 - Translations e2e test infrastructure → Bug 1924192 - Translations e2e test infrastructure
Attachment #9431366 - Attachment description: Bug 1924192 - Vendor taskcluster_taskgragph v11.2.3 → Bug 1924192 - Vendor taskcluster_taskgraph v11.2.3
Attachment #9431366 - Attachment is obsolete: true
Attachment #9431578 - Attachment description: Bug 1924192 - Vendor taskcluster_taskgragph v11.2.4 → Bug 1924192 - Vendor taskcluster_taskgraph v11.2.4
Attachment #9431578 - Attachment description: Bug 1924192 - Vendor taskcluster_taskgraph v11.2.4 → Bug 1924192 - Vendor taskcluster_taskgragph v11.2.4

Refactors the assertPageIsTranslated function to take
an object with named entries, rather than taking several
order-dependent parameters.

Depends on D225415

Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a46b6607f18f Vendor taskcluster_taskgragph v11.2.4 r=mach-reviewers,ahal,ahochheiden https://hg.mozilla.org/integration/autoland/rev/7161afe20737 Create mochitest-browser-translations test definition r=translations-reviewers,jmaher,sparky,gregtatum https://hg.mozilla.org/integration/autoland/rev/da8005f82550 Define fetch task for Translations e2e tests r=jmaher,sparky https://hg.mozilla.org/integration/autoland/rev/e263a298d0ce Refactor assertPageIsTranslated args r=translations-reviewers,gregtatum https://hg.mozilla.org/integration/autoland/rev/f3e13ae5c26f Translations e2e test infrastructure r=translations-reviewers,gregtatum
Regressions: 1925677
Duplicate of this bug: 1821488
Blocks: 1917689
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: