Skip to content

WS-NA: Tidies E2E and Integration tests post NextJS migration#13912

Draft
Isabella-Mitchell wants to merge 4 commits intolatestfrom
WS-NA-unskip-assertions
Draft

WS-NA: Tidies E2E and Integration tests post NextJS migration#13912
Isabella-Mitchell wants to merge 4 commits intolatestfrom
WS-NA-unskip-assertions

Conversation

@Isabella-Mitchell
Copy link
Copy Markdown
Contributor

@Isabella-Mitchell Isabella-Mitchell commented Apr 15, 2026

Resolves JIRA: WS-NA

Summary

Post NextJS migration tidy up. There were some tasks we left following the article page nextJS migration.

Code changes

  • Enables homepage script switch tests
  • Unskips applicable Error Page tests

Testing

  1. Tested locally
  2. To do - run on test and live env locally

Useful Links

});
// SKIPPED: The following tests have been skipped as the Error Page hasn't yet been migrated.
if ((envConfig as EnvironmentConfigType).standaloneErrorPages) {
// These tests are skipped because the Next.js application doesn't currently have dedicated routes for /{service}/404 and /{service}/500 that return HTTP 200.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need these tests? If so I'll raise a tech ticket to support /404 and /500 routes on NextJS. Else I'll bin them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant