analytics/tracker/test/fixtures
RobertJoonas 37116a2b12
Add tests for the pageleave script (#4744)
* move util function to util module

* move playwright config file to tracker dir root

* update Playwright + add gitignores

* Playwright: enable reuseExistingServer (non-CI env)

* store tracker src copies to avoid re-compilation in dev env

* test pageleave on simple navigation

* fix test util fn

* rename local_test npm script

* make test util able to expect multiple requests

* test pageleaves in SPAs

* test pageleave with manual URL

* test pageleave not sent in manual when pageview not triggered

* extend util fn to refute event requests

* test pageleaves not sent in excluded hash pages

* store hashes instead of file copies to detect /tracker/src changes

* drop async

* speed up test suite
2024-10-28 15:30:03 +00:00
..
custom-event-edge-case.html Add tagged-events script extension (#2333) 2022-11-21 16:17:44 +02:00
file-download.html Rework outbound links and file downloads (#2208) 2022-09-29 14:12:35 +03:00
hash-exclusions.html exclude pages by hash when using script.exclusions.hash.js (#2172) 2022-09-07 16:41:08 +03:00
manual.html Fix experimental pageleaves script (SPAs) (#4667) 2024-10-14 09:34:47 +00:00
outbound-link.html Rework outbound links and file downloads (#2208) 2022-09-29 14:12:35 +03:00
pageleave-hash-exclusions.html Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
pageleave-hash.html Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
pageleave-manual.html Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
pageleave.html Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
revenue.html Add tagged events support for revenue goals (#3038) 2023-06-19 12:59:47 +01:00
simple.html Add basic test harness for browserstack/playwright (#1961) 2022-08-04 11:50:09 +03:00
tagged-event.html Improve tagged events (#2880) 2023-04-27 14:08:24 +03:00