Skip to content

Fix E2E tests to match wabi-sabi Japanese auth UI#5

Merged
sharindanic merged 1 commit into
mainfrom
fix/e2e-japanese-auth-selectors
Jul 13, 2026
Merged

Fix E2E tests to match wabi-sabi Japanese auth UI#5
sharindanic merged 1 commit into
mainfrom
fix/e2e-japanese-auth-selectors

Conversation

@sharindanic

Copy link
Copy Markdown
Owner

The auth redesign changed all labels/buttons to Japanese and removed input placeholders, which broke every Playwright spec (all specs log in through the auth page). Update selectors accordingly:

  • getByPlaceholder('Email'/'Password') -> getByLabel('メール'/'パスワード')
  • 'Sign in' -> 'ログイン', 'Sign up'/'Create account' -> '新規登録'
  • Add aria-label to the auth inputs so getByLabel is stable (no visual change; the label text was previously not programmatically associated)

The auth redesign changed all labels/buttons to Japanese and removed
input placeholders, which broke every Playwright spec (all specs log in
through the auth page). Update selectors accordingly:

- getByPlaceholder('Email'/'Password') -> getByLabel('メール'/'パスワード')
- 'Sign in' -> 'ログイン', 'Sign up'/'Create account' -> '新規登録'
- Add aria-label to the auth inputs so getByLabel is stable (no visual
  change; the label text was previously not programmatically associated).

All 20 tests pass locally.
@sharindanic
sharindanic merged commit 589f8e0 into main Jul 13, 2026
1 check passed
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