Skip to content

moatazeldebsy/the-internet-automation-playwright-typescript

Repository files navigation

The Internet Automation with Playwright and TypeScript

This project is designed to automate the testing of various web functionalities using Playwright in a TypeScript setup. It targets a demo website called The Internet for practicing automation testing.

Features

  • Test Coverage: Includes tests for file upload, file download, form authentication, dynamic controls, and more.
  • GitHub Actions CI: Integrates with GitHub Actions for continuous integration, automatically running tests on push or pull request events to the main branch.
  • Report Generation: Generates test reports in multiple formats including JSON, JUnit, and HTML, with the latter being deployable to GitHub Pages for easy access.
  • Slack Notification: Sends Slack Notifications with the test report, including the Author of the commit or the pull request, branch and the status
Screenshot 2024-08-07 at 12 57 48

Getting Started

Prerequisites

  • Node.js (v16 as specified in the GitHub Actions workflow)
  • npm (comes with Node.js)

Installation

  1. Clone the repository:
    git clone https://github.com/moatazeldebsy/the-internet-automation-typescript-playwright.git