Skip to content

zekedvc/playwrightDemo

Repository files navigation

Playwright TypeScript Project

playwright-logo

Overview

This is a Playwright project written in TypeScript to automate tests for the DemoQA website. It aims to demonstrate various functionalities provided by Playwright for browser automation.

Purpose

The purpose of this project is to showcase how Playwright can be used to efficiently write automated tests for web applications. It focuses on testing different features and scenarios of the DemoQA website.

Getting Started

  1. Clone this repository to your local machine.
  2. Make sure you have Node.js installed.
  3. Install dependencies using npm install.
  4. Run tests using npm test.

Directory Structure

  • src/: Contains the TypeScript source code for the tests.
  • tests/: Contains the actual test files.
  • package.json: Configuration file for Node.js dependencies and scripts.
  • tsconfig.json: Configuration file for TypeScript compilation.

Test Cases

The tests cover a variety of scenarios, including but not limited to:

  • Interacting with text boxes
  • Clicking buttons and links
  • Filling out forms
  • Verifying elements and text on the page
  • Navigating between pages

Contributions

Contributions are welcome! If you find any bugs or want to add more tests, feel free to open an issue or submit a pull request.

Resources

  • Playwright Documentation: Official documentation for Playwright.
  • DemoQA: Website used for testing.
  • Page Object Model (POM) for improved test maintenance.
  • Integration with GitHub Actions for continuous integration.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published