Till Tomczak 27e1b2d82c Füge Cypress Konfiguration und Testumgebung hinzu
- Fügt cypress.config.ts für E2E und Komponenten Tests hinzu
- Fügt Cypress Testskripte und Docker-Compose Konfiguration hinzu
- Ermöglicht automatische E2E-Tests mit separater Testumgebung

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-28 10:40:15 +01:00

19 lines
437 B
TypeScript

describe('Homepage', () => {
beforeEach(() => {
cy.visit('/')
})
it('loads the homepage successfully', () => {
cy.contains('Manage Your Printers')
cy.get('a[href="/printer"]').should('exist')
})
it('shows printer cards', () => {
cy.get('[class*="w-auto h-36"]').should('exist')
})
it('has working navigation', () => {
cy.get('header').should('exist')
cy.get('a[href="/"]').should('exist')
})
})