Senior QA Engineer

To qualify for the technical interview, you must complete two primary assignments. The first tests your ability to capture requirements in a suitable format, and the second tests your fundamentals on test automation.

Assignment:

  1. Write automated tests using Playwright and embed both coding and test automation best practices in your automation suite.
  2. Application under test: https://www.saucedemo.com/
  3. Scenarios to be automated
  4. Verify the sorting order displayed for Z-A on the “All Items” page.
  5. Verify the price order (high-low) displayed on the “All Items” page.
  6. Add multiple items to the card and validate the checkout journey.

Bonus points

  1. You have a chance to score bonus points by adding the following additional tests to the above functional tests:
  2. Automated visual tests for the above pages.
  3. Automated accessibility tests for the above pages.

Assignment Submission Guidelines

  1. Create a GitHub repository for your assignment and share the link with us.
  2. Ensure your repository includes:
    • Source code of the automated suite.
    • README.md file with:
      • Instructions on how to set up and run the test locally.
      • A list of prerequisites (e.g., browser version, any dependencies, etc.)
      • Test execution logs/reports: If possible, include generated reports.
  3. An audio-video recording of both headed (browser-based) and headless test execution on your local machine.
  4. Ensure you create a publicly accessible repository so that we can view your work.
  5. As the APIs for this site aren't publicly available, all tests will have to be automated at the UI level.

Assignment Evaluation Criteria

  1. Code Quality (30%)
    • Modularity & Reusability: Clean, modular, and maintainable code.
    • Readability & Best Practices: Clear naming, consistent formatting, use of Playwright best practices.
    • Error Handling: Anticipates and handles edge cases.
  2. Test Coverage (30%)
    • Required Scenarios: Sorting (Z-A, high-low), cart, and checkout flow.
    • Assertions: Comprehensive and correct assertions.
    • Edge Cases: Considers and tests edge cases.
  3. Bonus Features (20%)
    • Visual Testing: Properly captures layout and handles dynamic content.
    • Accessibility Testing: Covers core accessibility features with actionable results.
  4. GitHub Repository (10%)
    • Structure & Commit History: Organized structure, meaningful commits.
    • README.md: Clear setup, prerequisites, and execution instructions.
  5. Test Execution & Reporting (10%)
    • Headed/Headless Execution: Demonstrated with video recordings.
    • Reports & Logs: Clear reports and useful logs.
  6. Initiative (Optional - 5%)
  7. Extra Efforts: Bonus points for additional tests or optimizations (e.g., CI/CD).

For any doubts or queries, feel free to reach out to our hiring team at [email protected].