Skip to content

Commit

Permalink
style: 💬 change text when typology unknown and update about page
Browse files Browse the repository at this point in the history
  • Loading branch information
nutfdt committed Jun 13, 2024
1 parent d25c9bb commit cf33331
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/e2e/firearm-fiability.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("Firearm Fiability", () => {
expect(response.statusCode).to.eq(200);
});
cy.url().should("contain", "/guide-identification/resultat-typologie");
cy.contains("h2", "Catégorie non déterminée");
cy.contains("h2", "Typologie non déterminée");
cy.get("h2").should(() => {
expect(localStorage.getItem("confidenceLevel")).to.eq('"low"');
});
Expand All @@ -49,7 +49,7 @@ describe("Firearm Fiability", () => {
expect(response.statusCode).to.eq(200);
});
cy.url().should("contain", "/guide-identification/resultat-typologie");
cy.contains("h2", "Catégorie non déterminée");
cy.contains("h2", "Typologie non déterminée");
cy.get("h2").should(() => {
expect(localStorage.getItem("confidenceLevel")).to.eq('"low"');
});
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ResultPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function sendFeedback(isCorrect: boolean) {
/>
</div>
<div class="fr-alert fr-alert--info mt-3">
<h2 class="fr-alert__title">Catégorie non déterminée</h2>
<h2 class="fr-alert__title">Typologie non déterminée</h2>
</div>
<div class="fr-alert fr-alert--warning mt-3">
<p>
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/views/AboutPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ const imgs = ref([
Numérique</span
>
du Ministère de l'Intérieur et des Outre-Mer, en partenariat avec le
<span class="font-bold"
>Service Central des Armes et Explosifs de la DEPSA.</span
>
<span class="font-bold">Service Central des Armes et Explosifs</span> de
la Direction des entreprises et partenariats de sécurité et des armes
</p>
<p>
<span class="font-bold"
Expand Down

0 comments on commit cf33331

Please sign in to comment.