mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-10-17 03:04:08 +00:00
Use preinstalled chrome for tests in CI
This commit is contained in:
@@ -41,7 +41,10 @@ export default defineConfig({
|
||||
test: {
|
||||
// Run tests in an actual browser
|
||||
browser: {
|
||||
provider: playwright(),
|
||||
provider: playwright({
|
||||
// In CI, this instructs playwright to use a pre-existing Chrome instance
|
||||
launchOptions: process.env.CI ? { channel: 'chrome' } : undefined,
|
||||
}),
|
||||
enabled: true,
|
||||
headless: true,
|
||||
screenshotFailures: false,
|
||||
|
||||
Reference in New Issue
Block a user