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.
- Install project dependencies
npm install --silent
. - Install
k6
, here is the official documentation. - Install Kubernetes and Jenkins, here is a complete guide.
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) andnon-functional
(api, performance, accessibility and security test cases).
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 insidetests/non-functional/performance/
directory.
- 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.
Distributed under the MIT License. See LICENSE
for more information.