You can represent types with both shared and type-specific attributes as a discriminated union in TypeScript. Let's model that relationship in a database.
This post will cover the basics of getting Cypress installed and ready to go, writing a placeholder test, and resetting the test database between tests.
Setting up end-to-end Cypress testing from scratch for an existing application can be a bit intimidating, so we broke the process down into smaller steps.