Welcome to the QA Automation Internship Project! This repository is designed as a challenge for internship candidates. The goal of this task is to test and improve your skills in QA automation using TypeScript and Playwright.
The project contains a single test file: internship-test-logged-in.spec.ts
. This file includes three tests, each with an intentional error. Your task is to find and fix these errors to ensure all tests pass successfully.
-
Fork This Repository
Click the Fork button at the top-right corner of this repository on GitHub to create your own copy under your GitHub account. -
Clone Your Fork
Clone your forked repository to your local machine:git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git
-
Set Up the Project
Navigate to the project directory and run the following commands to set up the testing framework:npm install npx playwright install
-
Run the Tests
You can run the tests in two ways:- Click the green play button next to the test in your IDE (e.g., Visual Studio Code).
- Or run the following command in the terminal:
npx playwright test
-
Fix and Validate
Debug the fileinternship-test-logged-in.spec.ts
, locate the errors in the three tests, and fix them. Ensure all tests pass successfully. -
Submit Your Work
Push your changes to your forked repository:git add . git commit -m "Fix test errors" git push
Then, share the link to your forked repository with us.
- Prerequisites: Ensure Node.js and npm are installed on your system.
- Playwright Documentation: Refer to Playwright Documentation if needed.
- Support: If you encounter issues, feel free to reach out.
We look forward to reviewing your solutions. Good luck and enjoy the challenge!