mirror of https://github.com/go-gitea/gitea.git
Add WebKit to e2e test matrix (#37298)
Verified locally with 50 runs, averaging 9 seconds per local test suite run. Total suite took 15s. `--with-deps` is needed because webkit's dependencies are not pre-installed on GHA runners (as opposed to firefox/chrome which are preinstalled). --- This PR was written with the help of Claude Opus 4.7 --------- Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com> Co-authored-by: Nicolas <bircni@icloud.com>pull/37036/head^2
parent
a17d5ebe16
commit
6f761219b2
3
Makefile
3
Makefile
|
|
@ -518,8 +518,7 @@ test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test
|
|||
|
||||
.PHONY: playwright
|
||||
playwright: deps-frontend
|
||||
@# on GitHub Actions VMs, playwright's system deps are pre-installed
|
||||
@pnpm exec playwright install $(if $(GITHUB_ACTIONS),,--with-deps) chromium firefox $(PLAYWRIGHT_FLAGS)
|
||||
@pnpm exec playwright install --with-deps chromium firefox webkit $(PLAYWRIGHT_FLAGS)
|
||||
|
||||
.PHONY: test-e2e
|
||||
test-e2e: playwright $(EXECUTABLE_E2E)
|
||||
|
|
|
|||
|
|
@ -36,5 +36,11 @@ export default defineConfig({
|
|||
...devices['Desktop Firefox'],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'webkit',
|
||||
use: {
|
||||
...devices['Desktop Safari'],
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue