-
Notifications
You must be signed in to change notification settings - Fork 0
UI testing Guide (Draft)
Nicklas Jeppesen edited this page Apr 19, 2024
·
3 revisions
We are using a framework called Playwright, which owned and maintain by microsoft, for perform UI and API testing.
The nugetPack need is the following: https://www.nuget.org/packages/Microsoft.Playwright
Example code, of how to use it, can be find in this repo: https://github.com/executeautomation/Playwrightdotnet
If needed, create a new test project, by run following commands:
- dotnet new nunit.
- dotnet add package Microsoft.Playwright
Run the following commands:
- dotnet build; to build your project
- playwright install; This install the needed browsers, to perform our UI testing.
Run the following commands:
- docker-compose -f compose-test.yml up --force-recreate --abort-on-container-exit --exit-code-from minitwit-uitests