Skip to content

emZubair/GiantRocketship-BDD

Repository files navigation

🌟 Giant Rocketship Project Automation 🌟

Overview

Welcome to the Giant Rocketship Automation Project! This project leverages the power of Playwright with Typescript to automate the testing of 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 https://github.com/your-username/git-repository-name.git
cd project-directory
npm install

🏃‍♂️ Running Test

Run this command to execute all tests

npm run test

Run this command to execute all tests in headed mode

npm run headed:test

Run this command to execute specific file tests

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

Run this command to execute specific file tests in headed mode

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

🏃‍♂️ 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 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