Skip to content

Commit 7630afd

Browse files
committed
[e2e magazine] Fix console trap for facet pages
1 parent 66420e1 commit 7630afd

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/e2e-tests/magazine/collection.test.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ test('E2E Magazine - Collection Pages', async t => {
394394
395395
All links found:
396396
`)
397-
console.log(allLinks)
397+
console.log(allLinks.map(link => $(link).text()))
398398
console.log(`
399399
400400
* * * *
@@ -430,9 +430,13 @@ test('E2E Magazine - Collection Pages', async t => {
430430
431431
allLinks
432432
433-
* * *
434433
`)
435-
console.log(allLinks)
434+
console.log(allLinks.map(link => $(link).text()))
435+
console.log(`
436+
437+
* * * *
438+
439+
`)
436440
}
437441
return matchingFacetValueLinks.length === 1
438442
}
@@ -567,7 +571,7 @@ test('E2E Magazine - Collection Pages', async t => {
567571
568572
All links found:
569573
`)
570-
console.log(allLinks)
574+
console.log(allLinks.map(link => $(link).text()))
571575
console.log(`
572576
573577
* * * *

0 commit comments

Comments
 (0)