This demo is used for showing how to work with the following patterns in testing:
- Factory
- Object Mother
- Builder
- Page Object
Both the Batch script and the Shell script take the following approach:
- Run the Blazor website as a background process using the
https
launch profile. - Run the tests - including the Playwright tests.
Before you can run either of those scripts successfully, you may need to install Playwright.
Run the scripts and read the failure message as it gives the instructions on how to install Playwright for your environment.
The batch script uses DotnetBackground to run the website as a background process.