Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.63 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.63 KB

Technical QA Assessment

A take-home automation testing assignment for QA interview.

Sumary of this framework

  • This is API Automation Testing using Playwright framework one of the powerfull testing framework

Getting started

Test case and Bug report

Please see the test cases and bug report from resources/Testcase_1.0.xlsx

Pre-requisites

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)

Run Test

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

Run Single Spec and show the report

  • Go to the Project root directory and run command: e.g: npx playwright test tests/api-image.spec.ts && npx playwright show-report

How to view default Playwright HTML report

  • After runing finished one html report would be automatically gennerated and displayed if has any case failed
  • You can generate the report manually by using this command: npx playwright show-report
  • Go to the Project root directory: ./playwright-report/index.html

Playwright HTML Test Report

Playwright HTML Test Report