This repository contains the solution for the Playwright 101 certification assignment from LambdaTest Certifications.
- Uses Playwright v1.52.0
- Includes 3 different test locators (e.g. CSS, text, ID)
- Tests run in parallel on multiple browser/OS combinations via LambdaTest
- Video, network logs, console logs, and screenshots are enabled
- LambdaTest test run IDs will be included in the submission
- Simple Form Demo – Fill out a text input and verify the displayed message.
- Drag & Drop Sliders – Adjust the slider to a specific value and validate it.
- Input Form Submit – Submit a form both empty and filled, verifying validation and success messages.
npm install # Install dependencies
npm run test # Run all tests on LambdaTest
npm run test:local # Run all tests locally
- Install dependencies:
npm install
- Configure LambdaTest credentials:
- Use the
.env.dist
template file by renaming it to.env
and adding your credentials:
LT_USERNAME=your_lambdatest_username
LT_ACCESS_KEY=your_lambdatest_access_key
Important
Replace with your actual LambdaTest username and access key
Run tests on LambdaTest:
npm run test
Run tests locally:
npm run test:local
Select the button below to try this demo in Gitpod:
After the Gitpod session launches:
- Follow the Setup instructions section above to configure your environment
- Make sure to rename
.env.dist
to.env
and add your LambdaTest credentials as shown in the Setup section
For more information on LambdaTest credentials, check this guide.
[https://github.com/hernandosebastian] – Certification Project for LambdaTest