Sign inSign up

mzcoder7/hacker-news-playwright-tests

By mzcoder7

Updated about 2 years ago

Automation framework with cross browser support & multiple device coverage.

Image
Languages & frameworks
0

873

mzcoder7/hacker-news-playwright-tests repository overview

Project Overview

The hacker-news-playwright-tests repository hosts a robust Playwright testing framework designed specifically for validating the order of newly published articles on Hacker News/newest. This framework ensures that the first 100 articles on the page are consistently sorted from newest to oldest, maintaining the integrity of the content display.

Core Functionality
  • Validation of Article Order: The primary function of this framework is to visit the Hacker News/newest page and verify that the first 100 articles are correctly sorted by their publication time, from the newest to the oldest.
  • Cross-Browser Testing: To ensure compatibility and reliability, the tests are executed across multiple browsers including Chrome, Firefox, and Mobile Safari. This helps in identifying any discrepancies or issues that might arise due to browser-specific rendering or behavior.
  • Device Coverage: The framework also includes testing on different devices, ensuring that the article order is validated not just on desktop browsers but also on mobile browsers, thereby covering a wider range of user scenarios.
Docker Integration

The project is containerised using Docker, making it easy to set up and run the tests in a consistent environment. The Docker image for this project is available on Docker Hub, facilitating seamless integration into CI/CD pipelines and simplifying the testing process.

Key Features
  • Automated Testing: Fully automated tests using Playwright, reducing manual effort and increasing test coverage.
  • Cross-Browser Support: Tests are executed on multiple browsers to ensure consistent user experience.
  • Mobile Testing: Validations are extended to mobile browsers, covering a broad spectrum of user devices.
  • Dockerised Environment: Easy setup and execution of tests using Docker, ensuring a consistent and isolated environment.

Tag summary

Content type

Image

Digest

sha256:77e6bee2e

Size

663.9 MB

Last updated

about 2 years ago

docker pull mzcoder7/hacker-news-playwright-tests