Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAJ du label pour le nom de la procédure #910

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const backLinkLabel = computed(() => {
id="procedure-name"
v-model="procedureName"
class="fr-mb-6w"
label="Nom du site audité"
label="Nom du site ou du service audité"
required
@update:model-value="emit('change')"
/>
Expand Down
3 changes: 2 additions & 1 deletion confiture-web-app/src/components/audit/NewAuditType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ function fillSettings() {
id="procedure-name"
v-model="procedureName"
class="fr-mb-6w"
label="Nom du site à auditer"
label="Nom du site ou du service à auditer"
hint="Exemples : Service-Public, Demande de permis de conduire."
required
/>

Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/account.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ describe("Account", () => {

cy.contains("106 critères").click();

cy.contains("Nom du site à auditer")
cy.contains("Nom du site ou du service à auditer")
.parent()
.find("input")
.type(auditJson.procedureName);
Expand Down Expand Up @@ -327,7 +327,7 @@ describe("Account", () => {

cy.contains("106 critères").click();

cy.contains("Nom du site à auditer")
cy.contains("Nom du site ou du service à auditer")
.parent()
.find("input")
.type(auditJson.procedureName);
Expand Down
6 changes: 3 additions & 3 deletions cypress/e2e/audit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe("Audit", () => {
// Fill fields
cy.contains("106 critères").click();

cy.contains("Nom du site à auditer")
cy.contains("Nom du site ou du service à auditer")
.parent()
.find("input")
.type(auditJson.procedureName);
Expand Down Expand Up @@ -97,12 +97,12 @@ describe("Audit", () => {
cy.createTestAudit().then(({ editId }) => {
cy.visit(`http://localhost:3000/audits/${editId}/parametres`);

cy.getByLabel("Nom du site audité").should(
cy.getByLabel("Nom du site ou du service audité").should(
"have.value",
"Audit de mon petit site",
);

cy.getByLabel("Nom du site audité")
cy.getByLabel("Nom du site ou du service audité")
.clear()
.type("Audit de mon gros site");

Expand Down
Loading