Skip to content

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.

License

Notifications You must be signed in to change notification settings

saboye/Automated-Test-with-Playwright

Repository files navigation

Automated Test with Playwright

Run on the Cloud

GitHub contributors GitHub forks GitHub issues GitHub license GitHub last commit Playwright Node.js JavaScript LambdaTest


Logo

This is a test suite built with Playwright that tests the LambdaTest platform. The test suite includes three test cases that cover different aspects of the website:

System under test (SUT)

  • 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:

  git clone https://github.com/saboye/Automated-Test-with-Playwright.git
  
  cd Automated-Test-with-Playwright
npm install

Then, you can run the test suite using the following command:

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

Builds on Lamdatest

Test Report on Lamdatest

Test Report on Lamdatest

Playwright HTML Report

Playwright HTML Report

Technologies Used

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published