Skip to content

Experimenting with playwright... automating basic tests involving my portfolio page

Notifications You must be signed in to change notification settings

MRJOHN5ON/learning_playwright

Repository files navigation

Playwright Test Suite

This repository contains a suite of Playwright tests designed to validate various functionalities of the My Portfolio website. It serves as an ongoing personal project to learn and experiment with Playwright.

Features

  • Verify page title
  • Test navigation bar links
  • Validate resume and cover letter PDF downloads
  • Check social links functionality
  • Ensure project links navigate to the correct pages
  • Checks color changes on elements upon hovering
  • Fills out contact form fields and validates alert message
  • Gets computed style (color) of specific text and verifies it
  • Finds and interacts with iFrame (embedded youtube video) (THIS SCRIPT WAS MADE WITH THE HELP OF AN AI ASSISTANT)
  • Locates headers and confirms text
  • Form submission and validation tests (THIS SCRIPT WAS MADE WITH THE HELP OF AN AI ASSISTANT)

Prerequisites

Before running the tests, ensure you have the following installed:

Notes

  • Test files with CURSOR written in the title were made using cursor.sh AI assistant.
  • This was done as a learning experience, and experimentation to refactor code.
  • The superNovaCodeGen.spec.ts file was made using playwright code gen. Ultimatly I found it to very basic, only able to assert visiblity and simple functions.

About

Experimenting with playwright... automating basic tests involving my portfolio page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published