docs: tag blips with related academy trainings

This commit is contained in:
Stefan Rotsch
2024-05-03 11:11:36 +02:00
committed by Stefan Rotsch
parent e5738950cf
commit 291dfd138b
11 changed files with 77 additions and 78 deletions

View File

@@ -2,26 +2,26 @@
title: "Cypress"
ring: assess
quadrant: tools
tags: [frontend, quality assurance]
tags: [academy training, frontend, quality assurance]
---
[Cypress](https://www.cypress.io/) is a front-end testing tool (E2E). It comes as a simple node package and is therefore easy to use and maintain for front-end developers and testers. Cypress has a different approach than Selenium. It runs in the browser and in the same loop as the device under test.
[Cypress](https://www.cypress.io/) is a front-end testing tool (E2E). It comes as a simple node package, making it easy to use and maintain for front-end developers and testers. Cypress has a different approach than Selenium; it runs in the browser and in the same loop as the device under test.
Good:
**Good:**
* [Open source](https://github.com/cypress-io/cypress)
* [Locally installed](https://docs.cypress.io/guides/getting-started/installing-cypress.html#System-requirements)
* Straightforward (installed via npm and all tests are written in Javascript)
* Good [documentation](https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell) and learning material
* Straightforward (installed via npm, and all tests are written in JavaScript)
* Good [documentation](https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell) and learning materials
* Can run in a [headless mode](https://docs.cypress.io/guides/guides/command-line.html#cypress-run)
Not so good:
**Not so good:**
* No cross browser testing (only Chrome and Electron)
* Scenarios with multiple browser tabs can not be tested
* Relatively new test tool, though it is becoming more popular
* No cross-browser testing (only Chrome and Electron)
* Scenarios with multiple browser tabs cannot be tested
* Relatively new test tool, although it is becoming more popular
Example of a test :
**Example of a test:**
```js
describe('My First Test', function() {