Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 2.58 KB

README.md

File metadata and controls

69 lines (48 loc) · 2.58 KB

marcinkapturski.com

Website marcinkapturski.com

1. Overview

React Cypress DatoCMS GitHub Actions JavaScript

This is my portfolio, blog and personal website. Written using JavaScript, built with React, tested by Cypress automation.

To run locally

# install necessary packages
yarn

# run the project
yarn start

Open http://localhost:3000 with your browser to see the result

2. Cypress UI tests for this project

This project is tested by Cypress UI automation

2.1. Open workflow and dispatch tests: cy-automation-tests

2024-09-07_13h59_44

2.2. Check the results by opening test run details

2024-09-07_13h54_05

3.Tests structure and Gherkin language

Under path: /cypress/e2e are all automation tests written in Gherkin language

Example:

Feature: Navigation -> base checks

    Background:
        * I open the start page

    @regression @navigation
    Scenario Outline: Navigation item "<navigation_item>" scrolled to its assigned section
        When I click on the navigation link "<navigation_item>"
        Then the page is on the position "<position>"

        Examples:
            | navigation_item | position |
            | Start           | 0        |
            | About me        | 723      |
            | What I do       | 1543     |
            | Contact         | 3839     |