Skip to content

Complete automation framework using Playwright, Jenkins, Typescript, Kubernetes, k6, and schemathesis. Highly customizable and easy to maintain.

License

Notifications You must be signed in to change notification settings

DevSoftChuck/playwright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4389638 Β· May 20, 2024

History

10 Commits
May 20, 2024
May 20, 2024
May 8, 2024
May 20, 2024
May 9, 2024
May 20, 2024
May 9, 2024
May 20, 2024
May 20, 2024
May 9, 2024
May 10, 2024
May 20, 2024

Repository files navigation

Automation project using Playwright


Welcome to my repository, here you will find a ready to use test automation project using Typescript and Playwright. I also try to build a complete pipeline that performs ui, mobile, api, accessibility, performance and security testing.

⚑ Setup

  • Install project dependencies npm install --silent.
  • Install k6, here is the official documentation.
  • Install Kubernetes and Jenkins, here is a complete guide.

πŸš€ Documentation

Project Structure

  • deployments: System and container orchestration deployment configurations and templates (docker, kubernetes/helm, jenkins).
  • configs: Configuration file templates or default configs.
  • tests: All test cases. Test cases are divided into two categories: functional (UI test cases) and non-functional (api, performance, accessibility and security test cases).

Test Stages in Pipeline

There are three stages right now:

  • Playwright-Test: Here all playwright test cases will run, by default is set to regression.
  • Fuzzy-Api-Test: schemathesis is used to perform fuzzy api testing, it needs the api schema to run the test. By default a test schema is used.
  • Performance-Test: k6 is used to run performance test, all related test cases are placed inside tests/non-functional/performance/ directory.

πŸ€– Tech stack

  • Typescript as the programing language.
  • Playwright as the automation framework.
  • allure-js reporter for playwright.
  • @axe-core/playwright to assist in injecting, configuring, and analyzing axe with Playwright.
  • Kubernetes for automating deployment, scaling, and management of containerized applications.
  • Jenkins used to automate all sorts of tasks related to testing.
  • schemathesis used to perform fuzzy api test.
  • k6 used to perform performance test.

πŸ“œ License

Distributed under the MIT License. See LICENSE for more information.

About

Complete automation framework using Playwright, Jenkins, Typescript, Kubernetes, k6, and schemathesis. Highly customizable and easy to maintain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published