What your customer sees is only the surface. Control a simulated app. Scrub through its hidden execution. Spend a limited evidence budget, find the divergence, and identify the root cause.
Change the preferred display name and save.
The database value is visible here for learning; in a real system it might require an authorized backend inspection.
The customer only sees the current screen and its feedback. The system’s actual state may be different.
Every inspection costs one credit. Open evidence before making your diagnosis.
await page.getByRole('button', { name: 'Save changes' }).click();
await expect(page.getByText('Saved')).toBeVisible();
// Does this prove persistence?await page.getByRole('button', { name: 'Save changes' }).click();
await page.reload();
await expect(page.getByLabel('Display name'))
.toHaveValue('Grace');
// Assumes persisted state is loaded on reload.