#20 Fix display persons integration test
This commit is contained in:
parent
f0738aca27
commit
44d58f072c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue