Skip to content

Commit

Permalink
put posthog in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Jun 24, 2022
1 parent 47029d9 commit 7455891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testcafe/e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fixture('posthog.js capture')
})

test('Custom events work and are accessible via /api/event', async (t) => {
await initPosthog()
await initPosthog({ debug: true })
await t
.wait(1000)
.click('[data-cy-custom-event-button]')
Expand All @@ -39,7 +39,7 @@ test('Custom events work and are accessible via /api/event', async (t) => {
})

test('Autocaptured events work and are accessible via /api/event', async (t) => {
await initPosthog()
await initPosthog({ debug: true })
await t
.wait(1000)
.click('[data-cy-link-mask-text]')
Expand Down

0 comments on commit 7455891

Please sign in to comment.