feat: release Find-Word v0.1
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
// 로컬 정적 빌드만 검증하며 원격 서버에 접속하지 않는다. 시스템 Chrome이
|
||||
// 있으면 재사용하고, 다른 환경에서는 Playwright가 설치한 Chromium을 쓴다.
|
||||
// Playwright 자체 기본값도 sandbox를 끄므로 true를 명시한다. 이를 지원하지
|
||||
// 않는 격리 환경에서만 PLAYWRIGHT_NO_SANDBOX=1로 예외를 선택할 수 있다.
|
||||
export default defineConfig({
|
||||
testDir: "./tests/browser",
|
||||
timeout: 120000,
|
||||
expect: { timeout: 20000 },
|
||||
fullyParallel: true,
|
||||
workers: 2,
|
||||
use: {
|
||||
baseURL: "http://127.0.0.1:4173",
|
||||
launchOptions: {
|
||||
executablePath: process.env.CHROME_PATH,
|
||||
chromiumSandbox: process.env.PLAYWRIGHT_NO_SANDBOX !== "1",
|
||||
},
|
||||
trace: "retain-on-failure",
|
||||
},
|
||||
projects: [
|
||||
{ name: "desktop", use: { viewport: { width: 1280, height: 1000 } } },
|
||||
{
|
||||
name: "mobile",
|
||||
use: {
|
||||
viewport: { width: 360, height: 800 },
|
||||
isMobile: true,
|
||||
hasTouch: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
webServer: {
|
||||
command: "npm run preview -- --port 4173 --strictPort",
|
||||
url: "http://127.0.0.1:4173",
|
||||
reuseExistingServer: false,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user