A take-home automation testing assignment for QA interview.
- This is API Automation Testing using Playwright framework one of the powerfull testing framework
Please see the test cases and bug report from resources/Testcase_1.0.xlsx
- Download and install Node.js
- Download and install any Text Editor like Visual Code
- 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.
- Go to the Project root directory and run command:
npm test
- Go to the Project root directory and run command: e.g:
npx playwright test tests/api-image.spec.ts && npx playwright show-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