Built by Microsoft, Playwright is a Node.js library that, with a single API, automates Chromium, Firefox, and WebKit.
Playwight is build on Node.js, so you need to have Node.js and npm installed. Ypu can download them from Node.js offical website.
Choose a code editor of your preference. Popular choices include Visal Studio Code, Atom, Sublime Text, etc.
Naviate to the playwright-rasa folder and run
npm install
To run the test in UI mode run following command:
npm run ui
You will see nice UI and then you can choose which test you want to run with nice visual UI.
- Should be able to send message to suport team
- Should be able to open About us modal
- Should be able to see Monitors in Product categories
- Should be able to see Phones in Product categories
- Should be able to see Laptops in Product categories
- Should be able to click on Next/Previous pagination buttons
- Should be able to check carousel
Extend API/UI tests. Store Graphql URL, queries and variables in new class.