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
@@ -174,6 +174,7 @@ describe("route groups", () => {
|
||||
["/employer/support/cases/new", "Обратиться в поддержку", "Разделы кабинета работодателя"],
|
||||
["/employer/candidates", "Кандидаты", "Разделы кабинета работодателя"],
|
||||
["/employer/invitations/new", "Приглашение кандидату", "Разделы кабинета работодателя"],
|
||||
["/employer/invitations", "Приглашения", "Разделы кабинета работодателя"],
|
||||
])("renders %s in its shell with one h1 and landmarks", async (path, heading, navLabel) => {
|
||||
const html = await renderHtml(path);
|
||||
|
||||
@@ -296,10 +297,13 @@ describe("product readiness", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("labels the remaining cabinet scaffolds as placeholders", async () => {
|
||||
expect(await renderHtml("/employer/invitations")).toContain(
|
||||
"Экран будет реализован в одной из следующих задач",
|
||||
);
|
||||
it("routes the employer invitation list to its own screen, not a placeholder", async () => {
|
||||
const html = await renderHtml("/employer/invitations");
|
||||
|
||||
expect(html).toMatch(/<h1[^>]*>Приглашения<\/h1>/);
|
||||
expect(html).toContain("Проверяем компанию...");
|
||||
expect(html).not.toContain("Экран будет реализован в одной из следующих задач");
|
||||
expect(html).not.toContain("Заготовка");
|
||||
});
|
||||
|
||||
it("routes the candidate inbox and one invitation to their own screens, not placeholders", async () => {
|
||||
|
||||
Reference in new issue
Block a user