Skip to content

Commit

Permalink
Tracker: Run tests on safari
Browse files Browse the repository at this point in the history
  • Loading branch information
macobo committed Feb 3, 2025
1 parent 62c6cb5 commit 9036368
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions tracker/test/pageleave.spec.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
/* eslint-disable playwright/no-skipped-test */
const { expectPlausibleInAction, pageleaveCooldown, ignoreEngagementRequests, ignorePageleaveRequests } = require('./support/test-utils')
const { test } = require('@playwright/test')
const { LOCAL_SERVER_ADDR } = require('./support/server')

test.describe('pageleave extension (pageleave events)', () => {
test.skip(({browserName}) => browserName === 'webkit', 'Not testable on Webkit')

sharedTests('pageleave', ignoreEngagementRequests)
})

test.describe('pageleave extension (engagement events)', () => {
test.skip(({browserName}) => browserName === 'webkit', 'Not testable on Webkit')

sharedTests('engagement', ignorePageleaveRequests)
})

Expand Down
5 changes: 0 additions & 5 deletions tracker/test/scroll-depth.spec.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
/* eslint-disable playwright/no-skipped-test */
const { pageleaveCooldown, expectPlausibleInAction, ignoreEngagementRequests, ignorePageleaveRequests, hideCurrentTab, hideAndShowCurrentTab } = require('./support/test-utils')
const { test } = require('@playwright/test')
const { LOCAL_SERVER_ADDR } = require('./support/server')

test.describe('scroll depth (pageleave events)', () => {
test.skip(({browserName}) => browserName === 'webkit', 'Not testable on Webkit')

sharedTests('pageleave', ignoreEngagementRequests)
})

test.describe('scroll depth (engagement events)', () => {
test.skip(({browserName}) => browserName === 'webkit', 'Not testable on Webkit')

sharedTests('engagement', ignorePageleaveRequests)

test('sends scroll depth when minimizing the tab', async ({ page }) => {
Expand Down

0 comments on commit 9036368

Please sign in to comment.