test(e2e): update composer selectors for new placeholder + voice button#3206
Conversation
The composer redesign renamed the placeholder ("Type a message..." ->
"How can I help you today?") and the mic-entry button ("Start recording"
-> "Voice mode"). Update all Playwright + WDIO specs that select by
these strings. MicComposer's own record button keeps "Start recording".
Fixes failing E2E lanes 1/2/4.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR updates test selectors across the E2E and Playwright test suites to match a chat composer UI redesign. The core selector constant in the shared harness helper is updated first, followed by widespread updates to all test specs to use the new placeholder text "How can I help you today?" instead of "Type a message...". ChangesChat Composer Placeholder Migration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Summary
Follow-up to #3165 (composer redesign). That PR renamed the composer placeholder (
Type a message...→How can I help you today?) and the mic-entry button (Start recording→Voice mode), and updated the Vitest tests — but the Playwright + WDIO E2E specs that select by those strings were missed and merged stale.This updates all 26 affected spec files so the E2E specs match the shipped composer:
getByPlaceholder('Type a message...')→getByPlaceholder('How can I help you today?')textarea[placeholder="Type a message..."]selector + harness docstringtextExists/waitForAnyTextreferencesStart recording→Voice mode(MicComposer's own record button staysStart recording)Test plan
Type a messagereferences remain inapp/test/pnpm typecheck— cleanpnpm format:check— cleanRefs #3165
Summary by CodeRabbit
Release Notes