Mise en place du formulaire candidature d'un conseiller #16
Annotations
2 errors
src/views/candidature-conseiller/CandidatureConseiller.test.jsx#L232
TestingLibraryElementError: Unable to find an element with the text: (_, element) => { return element?.textContent === wording; } (normalized from '(_, element) => {
return element?.textContent === wording;
}'), which matches selector 'p'. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="fr-container fr-mt-5w fr-mb-5w"
>
<div
class="fr-grid-row"
>
<div
class="fr-col-4"
>
<nav
aria-label="Sommaire"
class="fr-sidemenu fr-mt-15w"
>
<ol
class="fr-sidemenu__list"
>
<li
class="fr-sidemenu__item"
>
<a
aria-current="page"
class="fr-sidemenu__link"
href="#informationsDeContact"
target="_self"
>
Vos informations de contact
</a>
</li>
<li
class="fr-sidemenu__item"
>
<a
aria-current="false"
class="fr-sidemenu__link"
href="#situationEtExperience"
target="_self"
>
Votre situation et expérience
</a>
</li>
<li
class="fr-sidemenu__item"
>
<a
aria-current="false"
class="fr-sidemenu__link"
href="#votreDisponibilite"
target="_self"
>
Votre disponibilité
</a>
</li>
<li
class="fr-sidemenu__item"
>
<a
aria-current="false"
class="fr-sidemenu__link"
href="#votreMotivation"
target="_self"
>
Votre motivation
</a>
</li>
</ol>
</nav>
</div>
<div
class="fr-col-8"
>
<h1
class="cc-titre fr-mb-5w"
>
Je veux devenir conseiller numérique
</h1>
<p
class="fr-text--sm fr-hint-text"
>
Les champs avec
<span
class="cc-obligatoire"
>
*
</span>
sont obligatoires.
</p>
<form
aria-label="Candidature conseiller"
>
<fieldset
class="fr-border cc-section fr-p-3w fr-mb-3w"
id="informationsDeContact"
>
<legend
class="fr-h5"
>
Vos informations de contact
</legend>
<hr />
<div
class="fr-fieldset__element"
>
<div
class="fr-input-group"
>
<label
class="fr-label"
for="prenom"
>
Prénom
<span
class="cc-obligatoire"
>
*
</span>
</label>
<input
class="fr-input"
id="prenom"
required=""
type="text"
/>
</div>
</div>
<div
class="fr-fieldset__element"
>
<div
class="fr-input-group"
>
<label
class="fr-label"
for="nom"
>
Nom
<span
|
|
This job failed
Loading