Feat/e2e tests - #288
Open
CathLass wants to merge 14 commits into
Open
Conversation
CathLass
force-pushed
the
feat/E2ETests
branch
from
August 12, 2026 08:47
479f408 to
0cd6fd7
Compare
CathLass
force-pushed
the
feat/E2ETests
branch
from
August 12, 2026 08:50
0cd6fd7 to
a6194b5
Compare
Deployments
|
CathLass
marked this pull request as ready for review
August 13, 2026 17:46
SummarySummary
CoverageSAPData - 75.6%
SAPPub.Core - 86.6%
SAPPub.Infrastructure - 55.5%
SAPPub.Web - 89.1%
|
|
No critical or severe accessibility issues found |
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.
Description
End to end tests using Playwright.
Runs a deployed Web app and database and tests that the page content (data fields) are as expected.
The expected data values are set in the tests as parameterised 'theory' tests.
There's a separate yml job to run these tests that can be called easily from wherever we need in the deployment pipeline - currently only being called for deployed review apps.
Not many tests written, but I think this infrastructure could go in - see how it goes and then maybe modify to run on the Test environment.
to run locally:
in VS menu: Tests->Configure run settings-> select the playwright.runsettings file from the solution root folder
from the cmdline run web app:
dotnet run --project SAPPub.Web --no-buildeither from the cmdline run tests:
dotnet test Tests/SAPPub.Integration.Tests --no-buildor (my preferred - run them in test explorer)