Skip to content

Commit

Permalink
test(e2e): log joined text
Browse files Browse the repository at this point in the history
Signed-off-by: Zacharias Fragkiadakis <zacfragkiadakis@gmail.com>
  • Loading branch information
QZera committed Dec 31, 2024
1 parent b3c27f2 commit 9b3eabe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/specs/settings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ async function expectOutputToContain(outputView: OutputView, expected: string) {
* of the window. To avoid this, we join the text into a single string.
*/
const joinedText = (await outputView.getText()).join('')
console.log({ joinedText })

return joinedText.includes(expected)
},
Expand Down

0 comments on commit 9b3eabe

Please sign in to comment.