Skip to content

Commit

Permalink
Opt out of bot filtering in cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Aug 14, 2024
1 parent a21aa40 commit 5b4d8da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cypress/support/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ export const start = ({
cy.visit(url)

if (initPosthog) {
cy.posthogInit(options)
cy.posthogInit({
opt_out_useragent_filter: true, // we ARE a bot, so we need to enable this opt-out
...options,
})
}

if (resetOnInit) {
Expand Down

0 comments on commit 5b4d8da

Please sign in to comment.