guardian / csnx

Monorepo for Guardian UIs
https://guardian.github.io/csnx
Apache License 2.0
35 stars 2 forks source link

Use correct tests attribute on the window for sourcepoint AB test #1585

Closed Jakeii closed 3 months ago

Jakeii commented 3 months ago

What are you changing?

use window.guardian.config.tests instead of window.guardian.config.page.abTests

Why?

The latter is only available in DCR, and this needs to run across all pages including frontend rendered ones.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: e191a91eeb5a5ff1e7c4a6270fe1099519d7e64d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 3 months ago

[!TIP] Once this PR is ready to go, add the run_chromatic label to run the Chromatic tests.

This saves us a lot of money by not running the tests before we need them.