Demo project to automate UI testing for service 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
- Tools and technologies
- How to run
- Test results report in Allure Report
- Allure TestOps integration
- Jira integration
- Telegram Notifications
- Video of running tests in Selenoid
The test project consists of Web tests.
A brief list of interesting facts about the project:
-
Page Objectwith steps usingChain of Invocations - Fake data generating with
Fakerlibrary - Parametrized build
- Parametrized tests
- Different configuration files for test running depending on build parameters
- Config with
Ownerlibrary -
Allure TestOpsintegration -
Jenkinsruns tests -
Jiraintegration
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.
gradle clean testgradle 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.
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
Integration with Allure TestOps
Integration with Jira
After the build is completed, a special bot created in Telegram, automatically processes and sends a test run report message.
A video is attached to each test in the report.







