This is portfolio project on automation of test scripts using UI tests for wro.mzgb.net
- Technology stack used
- Instructions to Create a Valid
Sheet.xlsxFile - Running the Tests from the terminal
- Viewing Allure Reports
- Build with Github Actions
In this project, automated tests are written in Java 21 using the Selenium framework for UI testing.
Mavenis used as the build tool.JUnit5is the testing framework.Allureis integrated for generating test reports.- The
Page Object Modeldesign pattern is implemented to separate the test logic from the UI structure, making the code more maintainable and reusable. - For remote test execution, the project is set up with
Github Actionswhich builds the tests, generates anAllurereport, and publishes the results onGithub Pages. - Configured cloud-based testing with
Selenium Gridfor distributed and parallel test execution. - Ensured security by masking sensitive data in the reports and automation processes.
- Implemented parameterized testing to optimize test case flexibility and scalability using
JUnitannotations
To create a valid src/test/resources/data/Sheet.xlsx file based on a template, follow these steps:
A template file named SheetTemplate.xlsx is provided in the repository at src/test/resources/data/SheetTemplate.xlsx.
Copy the SheetTemplate.xlsx file to create a new file named Sheet.xlsx in the same directory.
Make sure to fill in the required data fields as shown below:
Here’s a detailed view of what the SheetTemplate.xlsx file should contain:
| Name | John | | Phone | 48152829319 | | Email | test@testmail.com | | Team | DreamTeam | | Number of teammates | 7 | | Password | strongpass!@#$%57 |
Make sure each field corresponds to the expected format and content based on your application's requirements.
To execute all the tests, run the following command in the CLI: mvn clean test -Pregression-tests
For only smoke tests: mvn clean test -Psmoke-tests
For only positive tests: mvn clean test -Ppositive-tests
For only negative tests: mvn clean test -Pnegative-tests
After running the tests, you can view the Allure reports by executing:
mvn allure:report
- Go to
music-quiz-automationrepository - Press to
Actionstab
- Press
Full Regression Testworkflow (on the left panel)
- Press
Run workflowbutton
- Wait till the build will be completed.
- After build completed go to
Actionstab again
- Click on the
pages and deploymentlink
- Click on the link
- Now you can see Allure report
If you have any comments or suggestions, please feel free to contact me at: dasha.andreyuk@gmail.com











