Skip to content

Commit 1889777

Browse files
committed
test args
1 parent c73b300 commit 1889777

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

e2e/cluster/cmx/cluster.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,8 @@ func (c *Cluster) RunPlaywrightTest(testName string, args ...string) (string, st
411411
"BASE_URL": "http://localhost:30003",
412412
"PLAYWRIGHT_DIR": "/automation/playwright",
413413
}
414-
stdout, stderr, err := c.RunCommandOnNode(0, []string{"playwright.sh", testName}, envs)
414+
line := append([]string{"playwright.sh", testName}, args...)
415+
stdout, stderr, err := c.RunCommandOnNode(0, line, envs)
415416
if err != nil {
416417
return stdout, stderr, fmt.Errorf("run playwright test %s: %v", testName, err)
417418
}

0 commit comments

Comments
 (0)