Skip to content

400 — should delete text by x button

Description

Verifies the hover-revealed "X" clear buttons inside the About me and Phone fields empty those fields, and that clearing the bio persists after save+reload.

Preconditions

  • A fresh user is signed in with the seeded mainProfile data (US phone, faker bio).
  • The Account Settings → Personal Info page is open.

Steps

  1. Hover the About me field and click the X clear button. Expected: the bio is empty.
  2. Hover the Phone field and click the X clear button. Expected: only the country prefix (+1) remains in the input.
  3. Click Save. Expected: a "Saved" confirmation toast appears.
  4. Reload the page. Expected: the About me field is still empty (the phone is intentionally not re-checked here — the server keeps the prior phone because the cleared value is dropped from the patch).
  • Spec: playwright/tests/integration/personal.info.spec.ts (line 104)