Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d39b5dff3c | ||
|
|
995b55af57 | ||
|
|
b812f42912 |
@@ -48,4 +48,8 @@ public sealed class InMemoryZaakGateway : IZaakGateway
|
||||
|
||||
public Task<Uri> ResolveInformatieobjecttypeUrlAsync(string omschrijving, CancellationToken ct = default)
|
||||
=> Task.FromResult(ResolvedInformatieobjecttypeUrl);
|
||||
|
||||
public Task<IReadOnlyList<ZaaktypeSummary>> ListZaaktypenAsync(CancellationToken ct = default)
|
||||
=> Task.FromResult<IReadOnlyList<ZaaktypeSummary>>(
|
||||
[new ZaaktypeSummary("BIG-REGISTRATIE", "BIG-registratie", ResolvedZaaktypeUrl)]);
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@ test('a beheerder sees the published zaaktypen in the catalogus', async ({ page
|
||||
|
||||
await expect(page.getByRole('heading', { name: /Catalogus/i })).toBeVisible();
|
||||
|
||||
// The seeded, published BIG zaaktype is shown by its business identificatie.
|
||||
await expect(page.getByText('BIG-REGISTRATIE')).toBeVisible();
|
||||
// The seeded, published BIG zaaktype is shown by its business identificatie. Match the cell
|
||||
// exactly (case-sensitive): getByText is case-insensitive, so it would also match the omschrijving
|
||||
// cell "BIG-registratie" and trip strict mode.
|
||||
await expect(page.getByRole('cell', { name: 'BIG-REGISTRATIE', exact: true })).toBeVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user