Selenium
end-to-end test example for Space
Example of test results generated by 🌈 ReportNG with a help of ✅ Testee framework:
- SSH clone URL: git@github.com:hibissscus/selenium-kotlin-e2e.git
- HTTPS clone URL: https://github.com/hibissscus/selenium-kotlin-e2e.git
gradle
is used for building thisselenium-kotlin-e2e
project- To run
E2E
tests locally we need to installchromedriver
orgeckodriver
brew install chromedriver
(orbrew upgrade chromedriver
)brew install geckodriver
(orbrew upgrade geckodriver
)
- Go to
selenium-kotlin-e2e/src/test/kotlin/e2e/test/space
and run any of the test via IDEA withtest
profile ( ex.: TodoTest) or via gradle:./gradlew test --tests "e2e.space.test.navigation.NavigationTest"
./gradlew test --tests "e2e.space.test.login.UserTest"
./gradlew test --tests "e2e.space.test.team.TeamTest"
./gradlew test --tests "e2e.space.test.todo.TodoTest"
- the whole e2e test suite can be started via gradle locally:
./gradlew test
- For
Selenium
dockerization docker-compose.yml file is used
👀 zip-arhive https://github.com/hibissscus/selenium-kotlin-e2e/suites/8687206870/artifacts/391761170
© 2022 Sergei Stepanov (Initial idea, implementation & enhancement)