Automating the QA work on a web application
Let's learn Playwright by automating the e2e tests on a sample web application. Throughout this course we will be learning about the concepts of Playwright by adding tests and configurations to the granite project.
This is a simple To-Do application built using Ruby on Rails and React. (You can learn how to create this application by following the instructions on the Learn Ruby on Rails course).
To start with this course, clone this repository to your local system.
Setting up the development environment
Setup Ruby on Rails and NodeJS if not done already by following the instructions on:
Mac
Windows
We have a dedicated guide to setup NodeJS and Ruby on Rails on a Windows machine using WSL. Please checkout the book
Installing Ruby on Rails on a Windows machine.
Setup the project in the local machine.
Start the Rails server on a new terminal on the repository.
Start the Webpack Dev Server on another terminal on the repository.
Now you will be able to see the application running by visiting localhost:3000.
You can use the following credentials to login to the application and get familiar with it.