Skip to content

Latest commit

 

History

History
72 lines (47 loc) · 1.59 KB

File metadata and controls

72 lines (47 loc) · 1.59 KB

Stellar Burgers UI tests

UI autotests based on Page Object. The project uses JUnit 4, Selenium, and Allure.

Test coverage

The UI suite checks:

  • registration with valid data;
  • validation for a short password during registration;
  • login from the home page, personal account link, registration form, and password recovery form;
  • switching constructor sections: buns, sauces, and fillings.

Run in Google Chrome

mvn clean test -Dbrowser=chrome

Run in Yandex Browser

mvn clean test -Dbrowser=yandex

If Yandex Browser is installed in a non-standard directory, pass the executable explicitly:

mvn clean test -Dbrowser=yandex -Dyandex.binary="C:\path\to\browser.exe"

If Selenium Manager cannot pick a ChromeDriver version compatible with Yandex Browser, pass the driver explicitly:

mvn clean test -Dbrowser=yandex -Dyandex.driver="C:\path\to\chromedriver.exe"

The default mode is headless. Use -Dheadless=false to see the browser.

Test reports

JUnit/Surefire XML and text reports are generated after each test run:

target/surefire-reports/

Allure raw results are generated here:

target/allure-results/

Generate a static Allure report:

mvn allure:report

The generated report entry point is:

target/site/allure-maven-plugin/index.html

To open the report through a temporary local server, use:

mvn allure:serve

The latest documented test run is available in docs/test-report.md. The static Allure report artifact for that run is stored in reports/allure-report-2026-09-06.zip.