feat(frontend): list the company invitations in the employer cabinet
This commit is contained in:
1 parent
84454116f2
commit
d8abaae85b
23 files changed
+1349
-222
No files matched your search
@@ -679,6 +679,18 @@ test.describe("minimal path from registration to disclosed contacts on the real
|
||||
expect(listText).not.toContain(secret);
|
||||
}
|
||||
}
|
||||
// The owner's screen lists the same three invitations, delivered, and
|
||||
// shows a candidate only by the shortened handle.
|
||||
await page.goto(`/employer/invitations?organization_id=${organizationId}`);
|
||||
await expect(page.getByRole("heading", { level: 1, name: "Приглашения" })).toBeVisible();
|
||||
const cards = page.getByRole("listitem").filter({ hasText: "Доставлено" });
|
||||
await expect(cards).toHaveCount(3);
|
||||
const screenText = await page.getByRole("main").innerText();
|
||||
for (const candidate of candidates) {
|
||||
for (const secret of [candidate.email, candidate.phone, candidate.fullName]) {
|
||||
expect(screenText).not.toContain(secret);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
const [accepting, racing, declining] = [...invitationOf.entries()];
|
||||
|
||||
Reference in new issue
Block a user