fix(curriculum): replace test method in step 24 'workshop-hotel-feedback-form' (#61882)

This commit is contained in:
Stuart Mosquera
2025-08-20 13:03:21 -03:00
committed by GitHub
parent 7c624b7108
commit b9f2f72058

View File

@@ -56,7 +56,7 @@ assert.strictEqual(document.querySelectorAll("fieldset:nth-of-type(3) label + in
You should have a `label` element with the text of `Reputation` below the location checkbox.
```js
assert.isNotNull(document.querySelectorAll('fieldset:nth-of-type(3) input[value="location"] + label')?.textContent, 'Reputation');
assert.strictEqual(document.querySelector('fieldset:nth-of-type(3) input[value="location"] + label')?.textContent?.trim(), 'Reputation');
```
Your `label` should have the `for` attribute set to `"reputation"`.