16/17 when I run the survey Test

Hello everyone,
When I run the test for the survey, I got only 16/17 and have this message

10. For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id=“name-label”, id=“email-label”, and id=“number-label”.

Except that my labels all have the asked ids…

Thanks for your help.

Hi @r.sah!

It would help to see your code.

Click the red button to see which test(s) are failing and text to help you correct the issue. (Be sure and read more than just the first line of the failing message.)

you’re right…

Here’s the coding

You need to keep the test suite in the page.

But also, you are failing more than one test.

Are you seeing this on your end?

You have two issues.

The reason why you are getting 7/17 tests passing is because of this line right here.
<form id="survey form">

Ids cannot have spaces. Make sure you are using the correct id name for the user story.

Once you fix that issue, then we are back to 16/17.

For user story 10, this is the error message.
#name-label should contain some text

All three of the name,email and number label don’t have text.

 <label id="name-label" for="name"><!--no text here--></label>

Alright, thanks a lot jwilkins