Skip to content

Commit

Permalink
chore: public package
Browse files Browse the repository at this point in the history
  • Loading branch information
maximgeerinck committed Jan 17, 2025
1 parent e67fca0 commit 9fc093f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-trains-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@phantom/synpress': patch
---

chore: Allow debug
6 changes: 6 additions & 0 deletions commands/phantom.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ module.exports = {

await playwright.switchToWindow(PROVIDER);

if (process.env.DEBUG != null) {
await playwright
.windows(PROVIDER)
.on('console', msg => console.log(msg.text()));
}

const isImportButtonVisible = await playwright
.windows(PROVIDER)
.locator(firstTimeFlowPageElements.importWalletButton)
Expand Down

0 comments on commit 9fc093f

Please sign in to comment.