Skip to content

hibissscus/selenium-kotlin-e2e

Repository files navigation

Selenium end-to-end test example for Space e2e

Example of test results generated by 🌈 ReportNG with a help of ✅ Testee framework: reportng.png

space-e2e

Getting Started

How to run E2E tests

  1. gradle is used for building this selenium-kotlin-e2e project
  2. To run E2E tests locally we need to install chromedriver or geckodriver
    • brew install chromedriver (or brew upgrade chromedriver)
    • brew install geckodriver (or brew upgrade geckodriver)
  3. Go to selenium-kotlin-e2e/src/test/kotlin/e2e/test/space and run any of the test via IDEA with test profile ( ex.: TodoTest) or via gradle:
    • ./gradlew test --tests "e2e.space.test.navigation.NavigationTest" gradle-local-run.png
    • ./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
  4. For Selenium dockerization docker-compose.yml file is used
    • e2e test suite can be started via gradle using docker: ./gradlew docker
    • test result report link can be found in the terminal log docker-run.png
    • html report can be opened via any browser report-docker.png

GitHub Actions end-to-end test results via docker

github-actions 👀 zip-arhive https://github.com/hibissscus/selenium-kotlin-e2e/suites/8687206870/artifacts/391761170

Authors

© 2022 Sergei Stepanov (Initial idea, implementation & enhancement)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages