https://github.com/saboye/automated-test-with-playwright
This repository contains the code for an automated testing project that uses Playwright Test on the LambdaTest platform. The project is designed to automate web application test.
https://github.com/saboye/automated-test-with-playwright
automation end-to-end javascript playwright testing testing-framework testing-library testing-tools
Last synced: 2 months ago
JSON representation
This repository contains the code for an automated testing project that uses Playwright Test on the LambdaTest platform. The project is designed to automate web application test.
- Host: GitHub
- URL: https://github.com/saboye/automated-test-with-playwright
- Owner: saboye
- License: mit
- Created: 2023-03-19T04:27:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-20T04:35:40.000Z (over 3 years ago)
- Last Synced: 2025-06-17T21:43:21.665Z (about 1 year ago)
- Topics: automation, end-to-end, javascript, playwright, testing, testing-framework, testing-library, testing-tools
- Language: HTML
- Homepage: https://github.com/saboye/Automated-Test-with-Playwright
- Size: 8.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Automated Test with Playwright
Run on the Cloud
This is a test suite built with [Playwright](https://playwright.dev/) that tests the [LambdaTest](https://www.lambdatest.com/selenium-playground/) platform. The test suite includes three test cases that cover different aspects of the website:
[System under test (SUT)](https://www.lambdatest.com/selenium-playground/)
- Verify User Can enter a message Successfully
- Verify the Slider Can Be Dragged to Change Value
- Verify Submitting Contact Form
# Running the Test Suite
To run the test suite, clone this repository to your local machine and you will need to have Node.js and Playwright installed on your machine. You can install them by running the following commands:
```ruby
git clone https://github.com/saboye/Automated-Test-with-Playwright.git
cd Automated-Test-with-Playwright
```
```ruby
npm install
```
Then, you can run the test suite using the following command:
```ruby
npx playwright test
```
By default, the test suite runs on the Chromium browser. If you want to run the tests on a different browser, you can use the --browser option. For example, to run the tests on Firefox, you can use the following command:
# Test Cases
## Verify User Can enter a message Successfully
This test case verifies that a user can successfully enter a message on the "Simple Form Demo" page and that the displayed message matches the entered message.
## Verify the Slider Can Be Dragged to Change Value
This test case verifies that a user can drag the slider on the "Drag & Drop Sliders" page to change its value and that the displayed value matches the expected value.
## Verify Submitting Contact Form
This test case verifies that a user can successfully submit the contact form on the "Input Form Submit" page. It fills in the a;; the form fields verifies that the success message "Thanks for contacting us, we will get back to you shortly." is displayed.
# Test Report
This report will include both the HTML and the LambdaTest results along with the details of the build setup used on LambdaTest.
## Builds on Lamdatest
## Test Report on Lamdatest
## Playwright HTML Report
# Technologies Used
- 🎠[playwright](https://playwright.dev/)
- [Node.js](https://nodejs.org/en)
# License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/saboye/Automated-Test-with-Playwright/blob/main/LICENSE) file for details.