mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-11-01 04:44:16 +01:00
Nicco
d7e5a34b14
* move to packages * update deps * update deps * actions maintenance * don't use blob * cli * fix default import * use synthetic default imports * remove comment * cli packaging * node 18 guard * packages * build system * testing * test pipeline * pipelines * changelog * version bump * update locales * update deps * update deps * update dependecies
32 lines
891 B
TypeScript
32 lines
891 B
TypeScript
import { devices, type PlaywrightTestConfig } from '@playwright/test'
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
use: {
|
|
video: 'retain-on-failure',
|
|
baseURL: 'http://localhost:1234',
|
|
actionTimeout: 60_000,
|
|
},
|
|
|
|
outputDir: './test-results',
|
|
testDir: './test',
|
|
timeout: 60_000,
|
|
|
|
webServer: {
|
|
command: 'docker compose -f docker-compose.dev.yaml up',
|
|
port: 1234,
|
|
reuseExistingServer: true,
|
|
},
|
|
|
|
projects: [
|
|
{ name: 'chrome', use: { ...devices['Desktop Chrome'] } },
|
|
{ name: 'firefox', use: { ...devices['Desktop Firefox'] } },
|
|
{ name: 'safari', use: { ...devices['Desktop Safari'] } },
|
|
|
|
{ name: 'cli', use: { ...devices['Desktop Chrome'] }, grep: [/@cli/] },
|
|
{ name: 'web', use: { ...devices['Desktop Chrome'] }, grep: [/@web/] },
|
|
{ name: 'cross', use: { ...devices['Desktop Chrome'] }, grep: [/@cross/] },
|
|
],
|
|
}
|
|
|
|
export default config
|