mirror of
https://github.com/BreizhHardware/portfolio.git
synced 2026-01-18 16:37:22 +01:00
Fix unit test
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
// cypress/integration/app_spec.js
|
||||
describe('App Component', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/');
|
||||
});
|
||||
|
||||
it('renders the app and checks if CSS is loaded', () => {
|
||||
cy.get('[data-testid="root"]').should('exist');
|
||||
cy.get('[data-testid="root"]', { timeout: 10000 }).should('exist');
|
||||
cy.get('[data-testid="root"]').should('have.class', 'min-h-screen py-10 px-3 sm:px-5 bg-gray-100 dark:bg-gray-900');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user