Skip to content

Commit 11c2f35

Browse files
committed
Tests: Add webkit + add comment for geolocation
1 parent a33bd6b commit 11c2f35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/playwright.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig({
1414
screenshots: 'only-on-failure',
1515
video: 'retain-on-failure',
1616
trace: 'on-first-retry',
17+
// Set Geolocation to Cork, Ireland
1718
geolocation: { longitude: -8.486316, latitude: 51.896893 },
1819
permissions: ['geolocation'],
1920
},
@@ -22,6 +23,10 @@ export default defineConfig({
2223
name: 'firefox',
2324
use: { ...devices['Desktop Firefox'] },
2425
},
26+
{
27+
name: 'webkit',
28+
use: { ...devices['Desktop Safari'] },
29+
},
2530
],
2631
webServer: {
2732
command: `cd ../exampleSite && hugo mod get && hugo --gc --config hugo.toml,hugo.test.toml && hugo serve --port ${PORT} --config hugo.toml,hugo.test.toml`,

0 commit comments

Comments
 (0)