554 — should set default time record view to ${c.setting.toLowerCase()}¶
Description¶
Verifies the Calendar settings → Default time record view option: choosing "Detailed" makes the new-time-record modal open in detailed mode (only the "Simple view" toggle is visible), while choosing "Simple" makes it open in simple mode (only the "Detailed view" toggle is visible). The setting persists across reloads.
Preconditions¶
- Signed in to a seeded test organization.
- Time tracking settings open on the Calendar settings tab.
Steps¶
- Set Default time record view to the chosen value ("Detailed" or "Simple").
- Click Save. Expected: "Updated" popup appears.
- Reload the page.
- Click Create time record from the footer.
- Expected: for the Detailed setting the "Simple view" toggle button is visible (and "Detailed view" is hidden); for the Simple setting the "Detailed view" toggle button is visible (and "Simple view" is hidden).
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 1262)