You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -499,6 +499,24 @@ just fmt
499
499
just lint
500
500
```
501
501
502
+
### Visual E2E (Playwright)
503
+
504
+
From the repository root, run UI tests in a visible browser with:
505
+
506
+
```bash
507
+
bun run --cwd packages/opencode/packages/app test:e2e:local -- --headed --project=chromium e2e/settings/settings-authentication.spec.ts
508
+
bun run --cwd packages/opencode/packages/app test:e2e:local -- --ui e2e/settings/settings-authentication.spec.ts
509
+
PWDEBUG=1 bun run --cwd packages/opencode/packages/app test:e2e:local -- --headed --project=chromium e2e/settings/settings-authentication.spec.ts
510
+
```
511
+
512
+
Headless run (default Playwright mode):
513
+
514
+
```bash
515
+
bun run --cwd packages/opencode/packages/app test:e2e:local -- --project=chromium e2e/settings/settings-authentication.spec.ts
516
+
```
517
+
518
+
Use `test:e2e:local` for local harness/sandbox provisioning. Plain `test:e2e` expects a backend that is already running at the configured Playwright host/port.
519
+
502
520
> **Note:** The git hooks automatically sync `README.md` to npm package directories on commit.
Copy file name to clipboardExpand all lines: packages/core/README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -499,6 +499,24 @@ just fmt
499
499
just lint
500
500
```
501
501
502
+
### Visual E2E (Playwright)
503
+
504
+
From the repository root, run UI tests in a visible browser with:
505
+
506
+
```bash
507
+
bun run --cwd packages/opencode/packages/app test:e2e:local -- --headed --project=chromium e2e/settings/settings-authentication.spec.ts
508
+
bun run --cwd packages/opencode/packages/app test:e2e:local -- --ui e2e/settings/settings-authentication.spec.ts
509
+
PWDEBUG=1 bun run --cwd packages/opencode/packages/app test:e2e:local -- --headed --project=chromium e2e/settings/settings-authentication.spec.ts
510
+
```
511
+
512
+
Headless run (default Playwright mode):
513
+
514
+
```bash
515
+
bun run --cwd packages/opencode/packages/app test:e2e:local -- --project=chromium e2e/settings/settings-authentication.spec.ts
516
+
```
517
+
518
+
Use `test:e2e:local` for local harness/sandbox provisioning. Plain `test:e2e` expects a backend that is already running at the configured Playwright host/port.
519
+
502
520
> **Note:** The git hooks automatically sync `README.md` to npm package directories on commit.
0 commit comments