blob: 5931ffeb16f0fb94ade7c24ef0af86bcf547771e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { ROUTES } from '../../../../src/utils/constants';
describe('Projects Page', () => {
beforeEach(() => {
cy.visit(ROUTES.PROJECTS);
});
it('successfully loads', () => {
cy.findByRole('heading', { level: 1 }).contains('Projets');
});
it('contains a breadcrumbs', () => {
cy.findByRole('navigation', { name: 'Fil d’Ariane' }).should('exist');
});
it('can list the projects', () => {
cy.findAllByRole('link', { name: /Consulter/ }).should(
'have.length.at.least',
1
);
});
});
|