bahmutov / fastify-example-tests

Cypress tests to fill to check fastify-example application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fastify-example-tests

Cypress tests to fill to check the fastify-example application

These tests are for the online course Cypress Network Testing Exercises

The public repository has test placeholders to be filled by the actual Cypress commands.

Requirements

  • Node.js >= 14 check with node -v
  • clone the example application repo fastify-example, install its dependencies and start the application. It should be running at localhost:4200

Install

  • npm install

Should install all dependencies, including Cypress

Start writing tests

  • Enroll in the course
  • Watch the introduction lesson
  • Open the first test spec01.js and try implementing it following the comments
  • Watch the lesson that covers the spec01.js to see if your solution matches mine

Tests

There are 180+ tests, to see them all use find-cypress-specs

$ npm run print
...

cypress/integration/spec30.js (1 test)
└─ handles test flake using the test retries

found 116 specs (180 tests, 13 pending)

Tests after bonus91

The new bonus lessons starting with "bonus 92" are written using Cypress v12+ and are placed in the repo bahmutov/fastify-example-tests-new.

Feedback

These tests were set up by Gleb Bahmutov. If you have any feedback about these tests and the course, drop me an email or open an issue / comment at bahmutov/cypress-courses.

About

Cypress tests to fill to check fastify-example application


Languages

Language:JavaScript 99.8%Language:CSS 0.1%Language:HTML 0.1%