fix(curriculum): change travel agency lab test to allow different solution (#57894)

Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com>
This commit is contained in:
Dario-DC
2025-01-07 08:45:25 +01:00
committed by GitHub
parent 329eba03a5
commit 7b82835577
@@ -159,13 +159,13 @@ for (let e of listItems) {
The anchor element of your first list item should wrap the text `Group Travels`.
```js
assert.equal(document.querySelectorAll('a')[0]?.innerText, 'Group Travels');
assert.equal(document.querySelectorAll('li > a')[0]?.innerText, 'Group Travels');
```
The anchor element of your second list item should wrap the text `Private Tours`.
```js
assert.equal(document.querySelectorAll('a')[1]?.innerText, 'Private Tours');
assert.equal(document.querySelectorAll('li > a')[1]?.innerText, 'Private Tours');
```
You should have an `h2` element after your unordered list.