Merge branch 'feat/adaptive-overlay-sheets' into chore/reconcile-ui-review
This commit is contained in:
@@ -373,5 +373,12 @@ test.describe('page action sheet (mobile long-press)', () => {
|
||||
await expect(page.getByTestId('page-action-add-tag')).toBeVisible();
|
||||
await expect(page.getByTestId('page-action-save-image')).toBeVisible();
|
||||
await expect(page.getByTestId('page-action-copy-link')).toBeVisible();
|
||||
|
||||
// The editor itself opens as a bottom Sheet on mobile (not a centered
|
||||
// Modal), so the action-sheet → editor flow stays one consistent
|
||||
// idiom. Sheet renders a `${testid}-scrim`; Modal a `${testid}-backdrop`.
|
||||
await page.getByTestId('page-action-add-tag').click();
|
||||
await expect(page.getByTestId('add-tags-modal-scrim')).toBeVisible();
|
||||
await expect(page.getByTestId('add-tags-modal-backdrop')).toHaveCount(0);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user