fix(test): match the catalogus zaaktype cell exactly, not case-insensitively (refs #130)
CI / build (pull_request) Successful in 1m36s
CI / lint (pull_request) Successful in 1m51s
CI / unit (pull_request) Successful in 1m49s
CI / frontend (pull_request) Successful in 4m24s
CI / mutation (pull_request) Successful in 6m58s
CI / verify-stack (pull_request) Successful in 8m14s
CI / build (pull_request) Successful in 1m36s
CI / lint (pull_request) Successful in 1m51s
CI / unit (pull_request) Successful in 1m49s
CI / frontend (pull_request) Successful in 4m24s
CI / mutation (pull_request) Successful in 6m58s
CI / verify-stack (pull_request) Successful in 8m14s
This commit is contained in:
@@ -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