Configure the framework for creating and running UI autotests on the portal
linux system (ubuntu, mint or other)
intellij idea
https://www.jetbrains.com/ru-ru/idea/downloadfrom java 1.8
selenide
junit5
gradle
allure
webDriverManager
log4j
logback
slf4j
lombok
java: [Version: 8]
- Install -
sudo apt-get install openjdk-8-jdk
orsudo apt-get install openjdk-1.8.0-jdk
- And set variable environment JAVA_HOME - export
JAVA_HOME=/usr/lib/jvm/java-8-openjdk
gradle: [Version: LATEST]
- Install - https://gradle.org/install/
- You could use the ppa or SDKMAN for the almost-always latest version https://launchpad.net/~cwchien/+archive/ubuntu/gradle
sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt upgrade gradle
git clone git@github.com:Truewaydm/vismeTest.git
root
|-module-a
Run all tests
-
gradle clean test
-
./gradlew clean test
Generate allure report: https://docs.qameta.io/
-
./gradlew allureServe
-
./gradlew allureReport
Test results will be generated in folder: /build/test-results