Skip to content

Commit

Permalink
test(ci): move more of the browser tests to playwright (#1638)
Browse files Browse the repository at this point in the history
* before send tests

* before send tests

* user agent tests

* user agent tests

* identify tests

* error tracking tests ported

* opting out tests ported

* badly port more event capture cypress tests

* fiddling

* lint playwright tests

* port all the capture spec without getting them passing

* fix one

* fix one

* fix one

* fix one

* fix one

* fix one

* fix one

* Update playwright/ua.spec.ts

Co-authored-by: Rafael Audibert <[email protected]>

---------

Co-authored-by: Rafael Audibert <[email protected]>
  • Loading branch information
pauldambra and rafaeelaudibert authored Jan 5, 2025
1 parent 7b05bc2 commit baa8aa7
Show file tree
Hide file tree
Showing 24 changed files with 992 additions and 849 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ module.exports = {
__dirname: true,
},
},
{
files: ['playwright/**/*.ts'],
rules: {
'posthog-js/no-direct-array-check': 'off',
'posthog-js/no-direct-undefined-check': 'off',
'compat/compat': 'off',
},
},
],
root: true,
}
48 changes: 0 additions & 48 deletions cypress/e2e/before_send.cy.ts

This file was deleted.

Loading

0 comments on commit baa8aa7

Please sign in to comment.