Skip to content

Commit

Permalink
Update common.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Feb 28, 2024
1 parent 2573c74 commit a1c6bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/frontend/helpers/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const waitForContentToBecome = async (/** @type {puppeteer.Page} */ page,
targetContent
);
} catch(e) {
console.error("Failed! Current content:", JSON.stringify(await getTextContent(page, selector)), JSON.stringify(targetContent))
console.error("Failed! Current content: ", JSON.stringify(await getTextContent(page, selector)), "Expected content: ", JSON.stringify(targetContent))
throw(e)
}
return getTextContent(page, selector);
Expand Down

0 comments on commit a1c6bcd

Please sign in to comment.