Skip to content

Commit eba63f9

Browse files
committed
III-6997: add test for the cultuurkuur access row
1 parent 071c713 commit eba63f9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/test/e2e/cultuurkuur/cultuurkuur-event-publication-status.spec.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,16 @@ test.describe('Cultuurkuur Event - Publication Status Display', () => {
134134
const alert = page.getByText(/binnen een dag.*zichtbaar op.*Cultuurkuur/);
135135
await expect(alert).toBeVisible();
136136
});
137+
138+
test('should show access information row', async ({
139+
page,
140+
cultuurkuurEventUrl,
141+
}) => {
142+
await page.goto(cultuurkuurEventUrl);
143+
const accessInfoRow = page.getByRole('row', { name: 'Toegang' });
144+
await expect(accessInfoRow).toBeVisible();
145+
const accessInfoCell = accessInfoRow.getByRole('alert');
146+
await expect(accessInfoCell).toBeVisible();
147+
await expect(accessInfoCell).toContainText(/evenement specifiek op scholen gericht/);
148+
});
137149
});

0 commit comments

Comments
 (0)