Skip to content

Conversation

@steventux
Copy link
Contributor

Description

The review environment exports $ENVIRONMENT and the smoke test defaults to dev when looking up this environment variable. Hence the smoke test passes for these environments but fails on preprod as the variable is not set.

Ensure we export it prior to running the test.

Jira link

Review notes

Review checklist

  • Check database queries are correctly scoped to current_provider

@steventux steventux force-pushed the export-environment-to-smoke-test branch from e8ab3ff to 8452189 Compare November 20, 2025 17:01
@github-actions
Copy link

github-actions bot commented Nov 20, 2025

The review app at this URL has been deleted:
https://pr-748.manage-breast-screening.non-live.screening.nhs.uk

The review environment exports ENVIRONMENT and the smoke test defaults to dev when looking up this environment variable. So the smoke test passes for these environments but fails on preprod as the variable is not set. Ensure we export it prior to running the test.

Removes some logic around PR_NUMBER and storage account details as these
aren't required anymore.
@steventux steventux force-pushed the export-environment-to-smoke-test branch from 8452189 to 5d3b6c7 Compare November 20, 2025 17:21
@steventux steventux merged commit b4fc45f into main Nov 20, 2025
13 checks passed
@steventux steventux deleted the export-environment-to-smoke-test branch November 20, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants