Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita277e8c

Browse files
committed
Set email/pass for playwright e2e test via cli flags
1 parentffcd5d9 commita277e8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎site/e2e/playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import{PlaywrightTestConfig}from"@playwright/test"
22
import*aspathfrom"path"
3+
import*asconstantsfrom'./constants';
34

45
constconfig:PlaywrightTestConfig={
56
testDir:"tests",
@@ -17,7 +18,7 @@ const config: PlaywrightTestConfig = {
1718
// https://playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-tests
1819
webServer:{
1920
// Run the coder daemon directly.
20-
command:`go run -tags embed${path.join(__dirname,"../../cmd/coder/main.go")} server --dev --skip-tunnel`,
21+
command:`go run -tags embed${path.join(__dirname,"../../cmd/coder/main.go")} server --dev --skip-tunnel --dev-admin-email${constants.email} --dev-admin-password${constants.password}`,
2122
port:3000,
2223
timeout:120*10000,
2324
reuseExistingServer:false,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp