mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-12 18:30:15 +00:00
tests: adapt e2e tests
This commit is contained in:
@@ -62,7 +62,7 @@ test.describe('API Key Management', () => {
|
||||
await page.getByText('Revoke', { exact: true }).click();
|
||||
|
||||
// Verify success message
|
||||
await expect(page.getByRole('status')).toHaveText('API key revoked successfully');
|
||||
await expect(page.locator('[data-type="success"]')).toHaveText('API key revoked successfully');
|
||||
|
||||
// Verify key is no longer in the list
|
||||
await expect(page.getByRole('cell', { name: apiKey.name })).not.toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user