You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/tracker/test/support
RobertJoonas f75d5106f0
Rework outbound links and file downloads (#2208)
* moved custom event code to the bottom + fix indentation

* add handlebars helper fn + extract getLinkEl fn

* extract isOutboundLink function

* extract shouldFollowLink function

* remove middle and click variables

* use only one click handler for outbounds and downloads

* extract sendLinkClickEvent function

* add error handling when script compilation fails

* use callback instead of fixed timeout

* do not prevent default if externally prevented + test

* add more tests

* generate tracker files in priv/tracker/js

* update changelog

* requested changes after review

* regenerate tracker files

* use return instead of else if

* move middleMouseButton outside the function
4 years ago
..
browserstack.js Add basic test harness for browserstack/playwright (#1961) 4 years ago
global-setup.js Add basic test harness for browserstack/playwright (#1961) 4 years ago
global-teardown.js Add basic test harness for browserstack/playwright (#1961) 4 years ago
harness.js Add basic test harness for browserstack/playwright (#1961) 4 years ago
playwright.config.js Add basic test harness for browserstack/playwright (#1961) 4 years ago
server.js Add basic test harness for browserstack/playwright (#1961) 4 years ago
test-utils.js Rework outbound links and file downloads (#2208) 4 years ago