Skip to content

Commit

Permalink
refacto: create folders onglets and recherche
Browse files Browse the repository at this point in the history
  • Loading branch information
rmonnier9 committed Jan 2, 2025
1 parent 00b20db commit 923be04
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import routes from '#clients/routes';

describe('Annonces BODACC', () => {
describe('Annonces et observations', () => {
beforeEach(() => {
cy.intercept('GET', `${routes.bodacc.ods.search}*`, {
fixture: '../fixtures/bodacc.json',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('Conventions supprimées', () => {
describe('Conventions collectives', () => {
it('Should work for valid companies', () => {
cy.visit('/divers/356000000');
cy.contains("Convention d'entreprise La Poste - France Télécom");
Expand Down
6 changes: 6 additions & 0 deletions cypress/e2e/onglets/dirigeants.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
describe('Dirigeants', () => {
it('No dirigeant in partial diffusible (protected)', () => {
cy.visit(`/dirigeants/908595879`);
cy.contains('Données privées').should('have.length', 1);
});
});
7 changes: 7 additions & 0 deletions cypress/e2e/onglets/documents.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
describe('Documents', () => {
it('Bouton agent connect sur les données protégées', () => {
cy.visit('/documents/487444697');
cy.contains('Réservé aux agents publics');
cy.contains('button', 'ProConnect');
});
});
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import routes from '#clients/routes';

describe('Bilans financiers', () => {
describe('Données financières', () => {
it('Should display Données financières section', () => {
cy.visit('/entreprise/487444697');
cy.contains('Données financières');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('Certifications', () => {
describe('Label et certificats', () => {
describe('QUALIBAT-RGE', () => {
it('Should display QUALIBAT-RGE', () => {
cy.visit(`/labels-certificats/843701079`);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 923be04

Please sign in to comment.