mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-01 07:19:05 +02:00
feat(ux): replace individual save buttons with single "unsaved changes bar" (#1757)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
|
||||
export async function saveUnsavedChanges(page: Page) {
|
||||
await page.getByRole('button', { name: 'Save', exact: true }).click();
|
||||
await expect(page.getByText('Changes saved successfully', { exact: true })).toBeVisible();
|
||||
}
|
||||
Reference in New Issue
Block a user