fix(curriculum): allow spaces in travel agency page (#62259)

This commit is contained in:
Ilenia
2025-09-19 14:46:00 +02:00
committed by GitHub
parent 74f663b8f1
commit 2e5d3e86e8
@@ -122,7 +122,7 @@ assert.isNotEmpty(document.querySelector('p')?.textContent?.trim());
Your first `h2` element should have the text `Packages`.
```js
assert.equal(document.querySelectorAll('h2')[0]?.innerText, 'Packages');
assert.equal(document.querySelectorAll('h2')[0]?.innerText.trim(), 'Packages');
```
You should have a `p` element below your first `h2` element.
@@ -168,13 +168,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('li > a')[0]?.innerText, 'Group Travels');
assert.equal(document.querySelectorAll('li > a')[0]?.innerText.trim(), 'Group Travels');
```
The anchor element of your second list item should wrap the text `Private Tours`.
```js
assert.equal(document.querySelectorAll('li > a')[1]?.innerText, 'Private Tours');
assert.equal(document.querySelectorAll('li > a')[1]?.innerText.trim(), 'Private Tours');
```
You should have an `h2` element after your unordered list.
@@ -189,7 +189,7 @@ assert.strictEqual(
Your second `h2` element should have the text `Top Itineraries`.
```js
assert.equal(document.querySelectorAll('h2')[1]?.innerText, 'Top Itineraries');
assert.equal(document.querySelectorAll('h2')[1]?.innerText.trim(), 'Top Itineraries');
```
You should have at least three `figure` elements.