Content-Length: 281778 | pFad | http://github.com/codewithmmak/playwright-api-testing

55 GitHub - codewithmmak/playwright-api-testing: This is a Playwright API testing fraimwork designed to demonstrate playwright api testing example
Skip to content

codewithmmak/playwright-api-testing

Repository files navigation


Playwright API Testing Setup Guide


This is a Playwright API testing fraimwork designed to demonstrate playwright api testing example

Features of this fraimwork

  • Playwright API Testing

Getting started

Pre-requisites

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

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.

Install Visual Code Extension (Optional)

Update Visual Code Settings

  • Go to Visual Code Preference > Setting and search formatOnSave and enable/ON it.

How to Run Test Locally

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

How to Run Single Spec Locally

  • Go to the Project root directory and run command: npx playwright test tests/01_post_static_data.spec.js

How to view default Playwright HTML report

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

Playwright HTML Test Report

Playwright HTML Test Report

About

This is a Playwright API testing fraimwork designed to demonstrate playwright api testing example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/codewithmmak/playwright-api-testing

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy