1
0
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:
Elias Schneider
2025-05-21 23:48:00 +02:00
parent c37386f8b2
commit ac6df536ef
6 changed files with 47 additions and 27 deletions

View File

@@ -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();