feat: redesign OIDC client details page

This commit is contained in:
Elias Schneider
2026-10-01 19:48:57 +02:00
parent 642ccc80d3
commit e588e3fc5d
22 changed files with 1058 additions and 787 deletions
+3 -3
View File
@@ -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');
});