Skip to content

Integration Tests are failing on tthe release version of firefox with a javascript error #12850

Open
@b4handjr

Description

@b4handjr

selenium.common.exceptions.JavascriptException: Message: TypeError: RemoteSettingsExperimentLoader.updateRecipes is not a function

Seen here: https://app.circleci.com/pipelines/github/mozilla/experimenter/57064/workflows/2a2c91d6-fb9b-492e-bc3e-749fb12b2625/jobs/329904

I think we need to update to the new ExperimentAPI class and use its methods.

This could be a potential solution

"""
     const { ExperimentAPI } = ChromeUtils.importESModule("resource://nimbus/ExperimentAPI.sys.mjs");
     const { RemoteSettings } = ChromeUtils.importESModule(
           "resource://services-settings/remote-settings.sys.mjs"
     );
    RemoteSettings.pollChanges();
    ExperimentAPI.ready();
    ExperimentAPI._rsLoader.updateRecipes("test");
"""

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions