/eshop-autotests

Primary LanguageJavaMIT LicenseMIT

eShop logo

Autotest for Microsoft eshop projects

Web UI & API - eShopOnContainers

The app deployed with kubernetes on MS Azure, good demonstration about enterprise microservice architecture

Cross-platform mobile eshop client that supports Android, iOS, UWP. Current autotests used build from this pull request pull request

// readme in progress

Technology stack

Jenkins Selenoid IDEA Java Github JUnit 5 Gradle Selenide Allure Appium AllureTestOps RestAssured Jira Browserstack

Jenkins pipeline

build with param screen

For launch remote tests it's necessary to click the option Собрать с параметрами, then to fill build settings and to click the button Собрать.

Jenkins

After tests execution, in the panel История сборок in the row with build number icons Allure Report and Allure TestOps will appear.

Icon Allure Report opens html-report in Allure Report.

Icon Allure TestOps opens html-report in Allure TestOps.

Jenkins

✅ Covered functionality

  • Auth Tests
  • Filter Tests
  • HomePage Tests

Tests results report in Allure Report

📌 Common information

Allure report main page contains next information blocks:

  • ALLURE REPORT - date and time of tests launch, total number of executed cases and the diagram with indication of percentage and number of successful, failed and broken tests
  • TREND - displays trend of passing tests from one build to another
  • SUITES - displays the distribution of tests results by tests suites
  • ENVIRONMENT - displays test environment where tests were launched
  • CATEGORIES - displays the distribution of failed tests by types of defects
  • FEATURES BY STORIES - displays the distribution of tests by functionality, which they check
  • EXECUTORS - displays the executor of the current build (link to Jenkins build)

Allure Report

Allure TestOps integration

📌 Overview dashboard

dashboards

Telegram notifications using a bot

After the pipeline is completed, created Telegram-bot automatically handles and sends a message with a test run report.

Example of test execution in Selenoid

A video is attached to each test in the allure report.

orderTest.mp4