🐺 QA Wolf Take-Home Assignment

Quality Assurance & Test Automation with Playwright

QA Wolf Project

Project Overview

This project involved developing a Hacker News Article Sort Validator using Node.js and Microsoft's Playwright framework. The assignment required building a web scraping tool to fetch the newest articles from Hacker News and validate their chronological ordering, demonstrating proficiency in test automation, data validation, and quality assurance principles.

Assignment Scope & Requirements

Key Objectives & Skills Demonstrated

Technology Stack:

Implementation Highlights

Modular Architecture

The solution is structured into focused modules:

Key Features

Usage Examples

# Basic usage - fetch and validate 100 articles
node index.js

# Show first 5 article titles with validation
node index.js 100 5

# Verbose mode with detailed error reporting
node index.js 100 5 --verbose

# Test mode with intentional sorting errors
node index.js 100 0 --test-error

# Display help information
node index.js --help
  

Personal Contributions

As the sole developer of this assignment, I was responsible for:

Testing & Quality Assurance

The project includes comprehensive test coverage:

All tests are run using Playwright's testing framework with the command: npx playwright test

Video Walkthrough

Watch a complete demonstration of the project, including the motivation for joining QA Wolf and a live walkthrough of the code and successful execution:

Home