Skip to content

feat: e2e foundation#111

Draft
sousuke0422 wants to merge 11 commits into
mainfrom
feat/e2e-foundation
Draft

feat: e2e foundation#111
sousuke0422 wants to merge 11 commits into
mainfrom
feat/e2e-foundation

Conversation

@sousuke0422

Copy link
Copy Markdown
Contributor

wip

@sousuke0422 sousuke0422 self-assigned this Jun 12, 2026
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 24e43eab-813d-4439-815c-00a22c10baf8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/e2e-foundation

Comment @coderabbitai help to get the list of available commands and usage tips.

… tests

- apps/e2e/ package with playwright.config.ts and signin smoke test
- webServer boots backend (BACKEND_BIN) and frontend dev server
- .github/workflows/e2e.yml: PG+Redis services, cargo build --release, chromium

Assisted-by: multi-agent-shogun-aki-tweak
Assisted-by: multi-agent-shogun-aki-tweak
Assisted-by: multi-agent-shogun-aki-tweak
Assisted-by: multi-agent-shogun-aki-tweak
Upgrade the e2e foundation from a render-only smoke check into an actual
login flow:

- global-setup.ts: TEST_USER + seedUser() (register via API, mark
  email_verified directly in Postgres) + signIn() UI helper, exported as
  a shared module instead of a legacy globalSetup file.
- tests/auth.setup.ts: setup project that performs the real sign-in
  (#email/#password -> サインイン -> assert redirect off /signin) and
  saves storageState for authenticated specs.
- tests/home.authenticated.spec.ts: authenticated smoke reusing the saved
  session.
- playwright.config.ts: 3 projects (setup / chromium / authenticated)
  with dependencies + storageState wiring.
- package.json: type:module (import.meta under Playwright ESM) + pg/@types/pg.
- pnpm-lock.yaml committed for reproducible CI installs.

Rationale for setup-project over legacy globalSetup: webServer entries are
guaranteed running before any project, so seeding and UI login always have
the api/dev servers available — avoids globalSetup-vs-webServer ordering.

Assisted-by: multi-agent-shogun-aki-tweak
@sousuke0422 sousuke0422 force-pushed the feat/e2e-foundation branch from 65d4d1b to ffa224c Compare June 19, 2026 16:51
The backend cargo config (apps/backend/.cargo/config.toml) forces the
mold linker via -fuse-ld=mold, but the e2e workflow built the backend
without installing it, so cc failed with "cannot find ld". Add the same
Install mold step that backend-test.yml/backend-build.yml already use.

Assisted-by: multi-agent-shogun-aki-tweak
@sousuke0422 sousuke0422 force-pushed the feat/e2e-foundation branch 3 times, most recently from c62f74e to ccbdd06 Compare June 19, 2026 17:49
@chromatic-com

chromatic-com Bot commented Jun 19, 2026

Copy link
Copy Markdown

Tip

All tests passed and all changes approved!

🟢 UI Tests: 20 tests unchanged
🟢 UI Review: 20 stories published -- no changes
Storybook icon Storybook Publish: 20 stories published

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

Coverage Report for apps/frontend

Status Category Percentage Covered / Total
🟢 Lines 100% 83 / 83
🟢 Statements 97.87% 92 / 94
🟢 Functions 100% 39 / 39
🟢 Branches 90% 36 / 40
File CoverageNo changed files found.
Generated in workflow #73 for commit 0c12c0f by the Vitest Coverage Report Action

@sousuke0422 sousuke0422 force-pushed the feat/e2e-foundation branch 7 times, most recently from f1196b4 to 0a1b453 Compare June 20, 2026 00:17
@sousuke0422 sousuke0422 force-pushed the feat/e2e-foundation branch 6 times, most recently from 4680d7a to 5661943 Compare June 20, 2026 16:58
@sousuke0422 sousuke0422 force-pushed the feat/e2e-foundation branch from 5661943 to 97c39a2 Compare June 20, 2026 17:03
Assisted-by: multi-agent-shogun-aki-tweak
@sousuke0422 sousuke0422 force-pushed the feat/e2e-foundation branch from 2f346dd to 2ed1206 Compare June 20, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant