#20 Fix display persons integration test

This commit is contained in:
Christoph Lienhard 2021-06-13 12:07:01 +02:00
parent f0738aca27
commit 44d58f072c
Signed by: christoph.lienhard
GPG Key ID: 6B98870DDC270884
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ describe("The UserManagement page", () => {
const editor = await findByText(editorsSection, /Erika Mustermann/);
expect(editor).not.toBeNull();
const candidatesSectionTitle = await screen.findByText(/Kandidat/);
const candidatesSectionTitle = await screen.findByText("KandidatInnen");
const candidatesSection =
candidatesSectionTitle.parentElement as HTMLElement;
expect(candidatesSection.childElementCount).toBe(1);