- Runs ALL tests with clean old tests results:
mvn clean test
- Runs ALL tests without clean old tests results:
mvn test
- Cleans old tests results:
mvn clean
- Tests(without clean old tests results):
- API:
- Runs all API tests:
mvn -Dtest=io.thrive.fs.api.tests.*Test test
- Positive registration scenario with a referral code
mvn -Dtest=io.thrive.fs.api.tests.ApiRegistrationTest#registrationWithReferCodeScenarioTest test
- Positive registration scenario without a referral code
mvn -Dtest=io.thrive.fs.api.tests.ApiRegistrationTest#registrationWithoutReferCodeScenarioTest test
- Positive lvl scenario
mvn -Dtest=io.thrive.fs.api.tests.APILvlsTest#lvlsTest test
- Runs all API tests:
- UI:
- Runs all UI tests:
mvn -Dtest=io.thrive.fs.ui.tests.*Test test
- Positive registration scenario without a referral code
mvn -Dtest=io.thrive.fs.ui.tests.UIRegistrationTest#registrationNewUserWithoutReferralCodeTest test
- Positive registration scenario with a referral code
mvn -Dtest=io.thrive.fs.ui.tests.UIRegistrationTest#registrationNewUserWithReferralCodeTest test
- Alternative positive registration scenario without a referral code
mvn -Dtest=io.thrive.fs.ui.tests.HappyFlowRegisteringNewUser2Test test
- Runs all UI tests:
- API:
- Generate allure project:
mvn allure:report
- generates an Allure report- view the report
mvn allure:serve
- generates an Allure report and opens it in the default browser
Each commit initiates the launch of tests, packs the folder with reports into an archive and transfers it to artifacts
To view the test report, you must:
-
Download and unzip the artifact reports.zip.
-
View a report from an unzipped artifact.
- When using it for the first time
- In the firefox browser, enter 'about:config' in the address bar
- After taking the risk and clicking 'show all', set security.fileuri.strict_origin_policy to false
- After these settings, you can open index.html using the firefox browser
- When using it for the first time