fastify / fastify-swagger-ui

Serve Swagger-UI for Fastify
MIT License
132 stars 40 forks source link

Add e2e tests to avoid regressions #98

Closed msebastianb closed 9 months ago

msebastianb commented 10 months ago

Prerequisites

🚀 Feature Proposal

Add e2e tests with Playwright to avoid regressions. Add the workflow to run the tests on the CI.

Motivation

The goal is to avoid issues like https://github.com/fastify/fastify-swagger-ui/issues/92. The proposal comes from https://github.com/fastify/fastify-swagger-ui/pull/93.

Example

Some tests can be implemented for: