Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/monikakonieczna/the-internet-cypress-project

This repo contains various example tests for "The Internet" using Cypress: Fundamentals, Testing the DOM. Additionally tests are configured to run in GitHub workflow.
https://github.com/monikakonieczna/the-internet-cypress-project

cypress cypress-example test-automation

Last synced: 10 days ago
JSON representation

This repo contains various example tests for "The Internet" using Cypress: Fundamentals, Testing the DOM. Additionally tests are configured to run in GitHub workflow.

Awesome Lists containing this project

README

        


Practice test automation with Cypress Logo on The Internet

> **Note**
>
> **The Internet** is site from Dave Haeffner and Elemental Selenium with several concise examples of web elements and interactions. It is recommended when you want to practice interactions on specific elements.
>
## Cypress Features
This tests are purely for Cypress features practice. Therefore the list of used features you can find below:
+ Fixtures - Loading single fixture and access credentials
+ Drag and Drop plugin
+ Xpath plugin
+ Real events plugin
+ Grep plugin
+ Shadow DOM
+ Hover and Hidden Elements
+ File download, File read
+ Interaction with DOM using commands such as .click(), .righclick(), .type(), .clear(), .check(), .trigger() etc.
+ Aliasing
+ Java Script alerts
+ Key presses

## CI
Additionally those tests are configured to run in GitHub workflow. It is using GitHub Actions to run tests after git actions such as: PUSH, PULL REQUEST.
It is possible to trigger GitHUb Workflow also manually. Configuration files can be found in directory: .github/workflows.

| CI | Trigger | Basic config file |
| --- | ---- | ---- |
| GitHub Actions | manual | [github_actions_manual.yml](.github/workflows/github_actions_manual.yml) |
| GitHub Actions | push | [cypress-docker-image.yml](.github/workflows/cypress-docker-image.yml) |
| GitHub Actions | pull_request | [github_actions_pr.yml](.github/workflows/github_actions_pr.yml) |

## Getting Started

### Prerequisites

The only requirement for this project is to have [Node.js](https://nodejs.org/en/) **version 18.12.1** installed on your machine.

### Start Cypress

```shell
npm run cy:open
```