Skip to content

npocbet/whitecatnsk_UI_and_API_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The test automation project for whitecatnsk.ru

White cat NSK

The project is done with the following technologies:

Java Gradle JUnit 5 IDEA Selenide Allure SE Github

Jenkins job

jenkins.autotests.cloud/job/

Infrastructure:

Jenkins Selenoid

Test & Release management:

Allure TestOps Jira

USAGE examples

For run remote tests need fill remote.properties or to pass value:

  • browser (default chrome)
  • browserVersion (default 96.0)
  • browserSize (default 1920x1080)
  • browserMobileView (mobile device name, for example iPhone X)
  • remoteDriverUrl (url address from selenoid or grid)
  • videoStorage (url address where you should get video)
  • threads (number of threads)

Run tests with filled remote.properties:

gradle clean test

Run tests with not filled remote.properties:

gradle clean -DremoteDriverUrl=https://%s:%[email protected]/wd/hub/ -DvideoStorage=https://selenoid.autotests.cloud/video/ -Dthreads=1 test

Serve report:

allure serve build/allure-results
For further development there are some example tests in src/test/java/cloud.autotests/tests/demowebshop
  • remove @Disabled("...") annotation to run tests
gradle clean demowebshop

❤️ qa.guru
💙 t.me/qa_automation

Results analysis

The test results can be found in:

For the running autotests in Jenkins, you can specify the parameters described in ☝️ Run tests without filled remote properties.

After selecting the necessary parameters, you need to click the Submit (Собрать) button.

Once the launch is finished you may watch statistics and open the Allure Report

Allure Report

Here are the examples of a report about test build with grouping by tags (: point_up: The list of tests grouped by tag parameter)

: arrow_right: The launch with results for tag = main_page

Allure TestOps

Allure TestOps is used as a storage for all tests cases (automated and manual), launches, their results. You may watch statistic and reports by all launches and results

➡️ Dashboard:

➡️ List of launches:

➡️ List of tests grouped by features and their history of launches:

Jira

Also Jira integration is implemented in the project:


Example of video with test running in Allure Report

You may see the example of a video showing the test run in Allure report.


Notifications in Telegram channel

The project is configured to send notifications about the results of launches from Jenkins to Telegram channel

Releases

No releases published

Packages

No packages published