Skip to content

viktorinka/pinterest_project_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo project to automate UI testing for service Pinterest

Pinterest

Pinterest is social Internet service, photo hosting, allowing users to add images online, place them in thematic collections and share them with other users.

💡 Description

The test project consists of Web tests.
A brief list of interesting facts about the project:

  • Page Object with steps using Chain of Invocations
  • Fake data generating with Faker library
  • Parametrized build
  • Parametrized tests
  • Different configuration files for test running depending on build parameters
  • Config with Owner library
  • Allure TestOps integration
  • Jenkins runs tests
  • Jira integration

🧑‍💻 Tools and a technologies

The autotests in this project are written in Java using Selenide framework.
Gradle - is used as a build automation tool.
JUnit5 - to execute tests.
Jenkins - CI/CD for running tests remotely.
Selenoid - to remote launching browsers in Docker containers.
Browserstack - to run mobile tests.
Allure Report - for test results visualisation.
Telegram Bot - for test results notifications.
Allure TestOps - as Test Management System.

💻 How to run

Local running tests

gradle clean test

Remote running tests

gradle clean test
-Dbrowser=${BROWSER}
-DbrowserVersion=${BROWSER_VERSION}
-DbrowserSize=${BROWSER_SIZE}
-Dremote=${SERVER_REMOTE}

Running tests in Jenkins

First you need to click on the Collect with parameters button and set options. By clicking on the Collect button a build will be started.

Jenkins

After build is completed, in the Builds history opposite the build number will appear the Allure Report icon, clicking on which will open the page with the generated html-report.

Test results report in Allure Report

allure-report1

allure-report1

Integration with Allure TestOps

Main dashboard

dashboard

Test results

testresults

Integration with Jira

jira

Telegram notifications using a bot

After the build is completed, a special bot created in Telegram, automatically processes and sends a test run report message.

Test running example in Selenoid

A video is attached to each test in the report.

back to Contents ⬆

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages