Skip to content

This is Test Automation framework designed using Playwright, and JavaScript to execute on LambdaTest

Notifications You must be signed in to change notification settings

codewithmmak/playwright-assertions-demo

Repository files navigation


Playwright Assertions Demo Setup Guide


Features of this framework

Getting started

Pre-requisites

  • Download and install Node.js
  • Download and install any Text Editor like Visual Code/Sublime/Brackets

Setup Visual Code

  • Install GitLens Extension from the Marketplace: GitLens — Git supercharged by GitKraken https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
  • Go to Visual Code Preference > Setting and search formatOnSave and enable/ON it.

Setup Scripts

  • Clone the repository into a folder
  • Go to Project root directory and install Dependency: npm install
  • All the dependencies from package.json would be installed in node_modules folder.

How to Run Test Locally

  • Go to the Project root directory and run command: npm test

How to view default Playwright HTML report

  • Go to the Project root directory: ./playwright-report/index.html

Playwright Default HTML Test Report

Playwright Default HTML Test Report

How to view Allure HTML report

  • Go to the Project root directory and run command: npm run allure-report
  • Go to the Project root directory: ./allure-report/index.html

Allure Test Report

Allure Test Report

Allure Test Report Expanded View

How to Run Test on LambdaTest Cloud

  • Go to Project root directory and run command: npm run lambdatest

Terminal Test Result

Terminal Test Result

LambdaTest Cloud Results

LambdaTest Cloud Results

LambdaTest Cloud Results Expanded View

About

This is Test Automation framework designed using Playwright, and JavaScript to execute on LambdaTest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published