The "Luma Demo Store Automation Project" is a project utilizing the Playwright tool ๐ป for automating tasks on a demo e-commerce store. This project is built using the Java programming language ๐ป and is designed to help improve the efficiency and accuracy ๐ฏ of various tasks performed on the Luma Demo Store website. By automating these tasks, the project aims to demonstrate the capabilities of Playwright ๐ช and its use in real-world scenarios. Playwright is a Node.js library ๐ to automate end-to-end web testing. It enables you to write scenario in Java ๐ป that run against real browsers, including Chrome ๐, Firefox ๐, and Safari ๐, and provides APIs to interact with the page.
- Java 17 ๐ป
- Maven ๐ง
- AspectJ ๐ง
- TestNG ๐งช
- Cucumber ๐ฅ
- Allure Report ๐
- RestAssured ๐ป
- Clone the repository by running git clone https://github.com/EugenS21/playwright.git
- Navigate to the cloned repository cd playwright
- Run mvn -B clean compile install test
- To get the report of execution you need to run from the root path of the project:
mvn allure:serve
this command will automatically start a local server with the results.
PS: You can run different categories of test by specifying a tag: mvn -B clean compile install test -Dcucumber.filter.tags='@tag'
Check out the official Playwright documentation at https://playwright.dev/ for more information on how to use the library and its features.