-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refacto: create folders pages, fonctionnalites, recherche
- Loading branch information
Showing
25 changed files
with
66 additions
and
42 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
cypress/e2e/annonces.cy.js → .../e2e/pages/annonces-et-observations.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cypress/e2e/conventions-collectives.cy.js → ...s/e2e/pages/conventions-collectives.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
cypress/e2e/bilans-financiers.cy.js → cypress/e2e/pages/donnees-financieres.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
describe('Établissement scolaire', () => { | ||
it('Should display service public and Établissement scolaire section', () => { | ||
cy.visit('/entreprise/198100125'); | ||
cy.contains('Service public'); | ||
cy.contains('Établissements scolaires'); | ||
}); | ||
it("Should display info from annuaire de l'éducation nationale", () => { | ||
cy.visit('/etablissements-scolaires/198100125'); | ||
cy.contains('Annuaire de l’Education Nationale'); | ||
cy.contains('N° UAI'); | ||
cy.contains('0810012Y'); // UAI | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
describe('Non-diffusible', () => { | ||
it('Should be non diffusible', () => { | ||
cy.visit(`/entreprise/300025764`); | ||
cy.contains('ne sont pas publiquement').should('have.length', 1); | ||
}); | ||
|
||
it('Should be diffusible', () => { | ||
cy.visit(`/entreprise/880878145`); | ||
cy.contains('ne sont pas publiquement').should('have.length', 0); | ||
}); | ||
|
||
describe('TVA validation', () => { | ||
it(`should display the TVA number`, () => { | ||
cy.visit(`/entreprise/842019051`); | ||
cy.contains('FR43 842 019 051').should('have.length', 1); | ||
}); | ||
it('TVA Non-assujettie', () => { | ||
cy.visit(`/entreprise/883010316`).then(() => { | ||
cy.contains('n° TVA valide'); | ||
}); | ||
cy.visit(`/entreprise/423208180`).then(() => { | ||
cy.contains('n° TVA valide'); | ||
}); | ||
}); | ||
it('TVA link', () => { | ||
cy.visit(`/entreprise/383657467`).then(() => { | ||
cy.contains('n° TVA valide').click(); | ||
cy.url().should('include', '/definitions/tva-intracommunautaire'); | ||
0; | ||
}); | ||
cy.visit(`/entreprise/217500016`).then(() => { | ||
cy.contains('FR72 217 500 016').should('have.length', 1); | ||
}); | ||
}); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
cypress/e2e/certifications.cy.js → ...ess/e2e/pages/labels-et-certificats.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.