Skip to content

override origin for assets in banner e2e test to fix inconsistent test failure#16365

Open
AnastasiiaBalenko wants to merge 1 commit into
mainfrom
ab-inconsistent-e2e-banner-test-fix
Open

override origin for assets in banner e2e test to fix inconsistent test failure#16365
AnastasiiaBalenko wants to merge 1 commit into
mainfrom
ab-inconsistent-e2e-banner-test-fix

Conversation

@AnastasiiaBalenko

@AnastasiiaBalenko AnastasiiaBalenko commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Ticket link

What does this change?

This change guaranties that all assets come from the same origin in banner e2e test.

Why?

Sometimes banner e2e tests failed in CI/CD with errors in console, indicating that some of the chunks failed to be loaded from https://assets.guim.co.uk/ as can be seen on the screenshot. For successfully passed tests the same chunks were loaded from the same origin - https://localhost:9000. To prevent mixed-origin request of dynamic parts, configOverride frontendAssetsFullURL was used to explicitly point to correct origin.

Screenshots

Screenshot 2026-07-10 at 12 32 12

@AnastasiiaBalenko AnastasiiaBalenko added the fix Departmental tracking: fix label Jul 13, 2026
@AnastasiiaBalenko AnastasiiaBalenko marked this pull request as ready for review July 13, 2026 10:56
@AnastasiiaBalenko AnastasiiaBalenko added the run_chromatic Runs chromatic when label is applied label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Departmental tracking: fix run_chromatic Runs chromatic when label is applied

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants