You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
User stories in Build a Travel Agency Page lab omit two tested requirements #68669
In the "Build a Travel Agency Page" lab, two behaviors are enforced by the tests but never stated in the user stories. A lab should state everything it tests.
The tests require exactly one h1:
You should only have one h1 element.
But user story 5 only asks for an h1, without the uniqueness constraint:
You should have an h1 element to present your travel destinations.
The tests require every figcaption to contain text:
Each figcaption should contain some text.
But user story 11 only asks that each figure contain a figcaption, with nothing about the caption being non-empty:
You should have at least three figure elements, each containing an anchor element and a figcaption element.
The user stories should account for both tested behaviors: that only one h1 is allowed, and that each figcaption must contain text. Either add these requirements to the user story list, or relax the tests so they match what the stories currently promise.
Activity