Skip to content

emZubair/VXG-Automation

Repository files navigation

🌟 VXG Frontend Automation 🌟

Overview

Welcome to the VXG Frontend Automation! This project leverages the power of Playwright with Typescript to automate the testing of end to end flows. 🚀

⭐ Features

Automated E2E Testing: Ensure your Flows are working flawlessly with automated tests.
Automated UI Testing: Ensure your UI functions flawlessly with automated tests.
Scalable & Maintainable: Easily add new tests and maintain existing ones.

📦 Installation

Get started quickly by cloning the repository and installing the necessary dependencies:

git clone [email protected]:emZubair/VXG-Automation.git
cd VXG-Automation
npm install
npx playwright install

🏃‍♂️ Running Test

Run this command to execute all smoke tests in headless mode

npm run smoke

Run this command to execute all smoke tests in headed mode

npm run smoke:headed

Run this command to execute all tests in headless mode

npm run test

Run this command to execute all tests in headed mode

npm run headed:test

Run this command to execute specific test

npx playwright test <path/to/testcase>

Run this command to execute specific test in headed mode

npx playwright test <path/to/testcase> --headed

Run this command to execute multiple tests

npx playwright test <path/to/testcase> <path/to/testcase>

🏃‍♂️ Running Test To Generate HTML Report

Run this command to generate an HTML report

This command will generate index.html file in playwright-report folder after execution of all tests.

npm run html:test
npm run show:html:report

ALLURE REPORT

Run this command to run all tests with Allure reporter

This command will generate a directory name allure-results in root after execution of all tests.

npm run tests:allure

Run this command to generate allure-report folder in root of project and then serve the allure report

npm run serve:allure

Happy Testing 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published