This is a template project. It's supposed to be cloned or downloaded and edited according to your needs.
The project itself reflects an implementation of acceptance web ui tests for a "web", i.e. as "application under test" we consider here the "whole web", under "root pages" we mean "web sites", under "sub-pages" we mean "web site pages". To apply this template to your context, usually you would need to rename all "Web" entries in names or some option values in config files (like TBD) to "Your.ProjectName" with the following exceptions:
- you can rename
Www.cs
toApp.cs
instead ofYourProjectName.cs
for conciseness
Hence, download it, rename the project folder to something like MyProduct.Tests
, then rename the .csproj
and other .cs
files and namespaces correspondingly...
And you should be ready to go ;)
TBD
Features supported:
- so far, see CHANGELOG for more details
- TBD
env -S "WebDriver:Local=chrome" dotnet test
env -S "WebDriver:Local=chrome NSelene:Timeout=8" dotnet test
Check browser images in etc/selenoid/browsers.json and once performed docker pull
for all corresponding images, like:
docker pull selenoid/chrome:84.0 && docker pull selenoid/vnc_chrome:84.0
do either for "pure selenoid"
docker-compose -f etc/selenoid/compose.yaml up -d selenoid
or for "selenoid with selenoid UI"
docker-compose -f etc/selenoid/compose.yaml up -d
dotnet test
env -S "WebDriver:Remote:enableVNC=false NSelene:Timeout=8" dotnet test
docker-compose -f etc/selenoid/compose.yaml stop