Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/monikakonieczna/the-internet-cypress-project
- Owner: monikakonieczna
- Created: 2022-11-17T11:22:39.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T13:59:11.000Z (about 2 years ago)
- Last Synced: 2024-11-28T02:16:55.815Z (2 months ago)
- Topics: cypress, cypress-example, test-automation
- Language: JavaScript
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Practice test automation with 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
```