513 — should reject descriptions over 1000 chars¶
Description¶
Verifies that both the internal and client description fields enforce a maximum length of 1000 characters in the new time record form, so users cannot save more text than the schema allows.
Preconditions¶
- Signed in to a seeded test organization.
- Time Records page open in the Reports view.
Steps¶
- Click Create time record in the footer.
- Switch the modal to the Detailed view.
- Paste 1500 random characters into the Client description field.
- Paste 1500 random characters into the Internal description field. Expected: the client description field is truncated to exactly 1000 characters.
- Expected: the internal description field is also truncated to exactly 1000 characters.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 109)