mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-06 17:59:03 +02:00
feat: redesign OIDC client details page
This commit is contained in:
@@ -105,8 +105,8 @@ test('Grant a client user-delegated and client access to API permissions', async
|
||||
// Nextcloud has no API access granted by default
|
||||
await page.goto(`/settings/admin/oidc-clients/${oidcClients.nextcloud.id}`);
|
||||
|
||||
// Open the API access tab, where no API is listed yet, and add the Orders API
|
||||
await page.getByRole('tab', { name: 'API access' }).click();
|
||||
// Open the Access tab, where no API is listed yet, and add the Orders API
|
||||
await page.getByRole('tab', { name: 'Access', exact: true }).click();
|
||||
await expect(
|
||||
page.getByText('This client has not been granted access to any API yet.')
|
||||
).toBeVisible();
|
||||
@@ -180,7 +180,7 @@ test('Grant a client access from the API details page', async ({ page }) => {
|
||||
|
||||
// The same grant shows up on the client's side of the relation
|
||||
await page.goto(`/settings/admin/oidc-clients/${oidcClients.nextcloud.id}`);
|
||||
await page.getByRole('tab', { name: 'API access' }).click();
|
||||
await page.getByRole('tab', { name: 'Access', exact: true }).click();
|
||||
await expect(page.getByRole('row', { name: apis.orders.name })).toContainText('1 / 2');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user