[A2-6739] updating deploy yaml with option to run e2e tests #3355
Open
marcpodgorney81 wants to merge 3 commits intomainfrom
Open
[A2-6739] updating deploy yaml with option to run e2e tests #3355marcpodgorney81 wants to merge 3 commits intomainfrom
marcpodgorney81 wants to merge 3 commits intomainfrom
Conversation
2f65173 to
82423b0
Compare
Snasim21
previously approved these changes
Mar 26, 2026
Snasim21
previously approved these changes
Mar 30, 2026
d2e0102 to
f3a779d
Compare
…cket) fix(infrastructure): run e2e script task in deploy config (no-ticket) fix(infrastructure): add parameter to run e2e tests job (no-ticket) fix(infrastructure): remove display name (no-ticket) fix(infrastructure): remove display name on step (no-ticket) fix(infrastructure): move script into job (no-ticket) fix(infrastructure): check if script caused issues (no-ticket) fix(infrastructure): use e2e dev variable group only (no-ticket) feat(infrastructure): add script check for running e2e tests in deploy (no-ticket) fix(infrastructure): environment check in deploy (no-ticket) feat(infrastructure): add e2e step to deploy (no-ticket) feat(infrastructure): add checkout step (no-ticket) feat(infrastructure): update e2e step (no-ticket) feat(infrastructure): add app env var to e2e step (no-ticket)
…ies for each env (no-ticket)
84e9f44 to
1ae4426
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes
In order to further enhance our pipeline process it would be good to run some of the e2e tests following deploy of backoffice into an environment
This would provide following benefits
As such we have updated the deploy yaml to add extra step that will run the e2e tests (in a similar way to for PRs). It has been configured as a parameter which is defaulted to enabled, see screenshot
As with the PR e2e tests, there are settings which can be updated to determine which tests run and where, which have been setup in a new library here https://dev.azure.com/planninginspectorate/appeals-back-office/_library?itemType=VariableGroups&view=VariableGroupView&variableGroupId=149&path=cd_e2e-deploy
As with the PR tests it is currently setup to run those tagged as part of
smokeset, however this also presents an opportunity to identify and tag a more in depth (i.e. regression) set of tests that could runvariables for the test run (e.g. base urls) are stored in libraries named for the environment, e.g. here for dev https://dev.azure.com/planninginspectorate/appeals-back-office/_library?itemType=VariableGroups&view=VariableGroupView&variableGroupId=50&path=cd_dev
These are passed in via an extension of the base template https://github.com/Planning-Inspectorate/common-pipeline-templates/blob/24d56ce8475c63eb471af7974073446e63480f42/stages/wrapper_cd.yml#L202
Issue ticket number and link
https://pins-ds.atlassian.net/browse/A2-6739