fix(frontend): refresh the landing page, keep the employer sidebar full height, and align the candidate home
This commit is contained in:
1 parent
ac57c05aca
commit
a5990d3fc6
12 files changed
+460
-51
No files matched your search
@@ -241,10 +241,15 @@ describe("product readiness", () => {
|
||||
expect(html).not.toContain("Начать полную проверку");
|
||||
});
|
||||
|
||||
it("presents the root page as a scaffold, not as a working product", async () => {
|
||||
it("describes the working cabinets on the root page without the scaffold label", async () => {
|
||||
const html = await renderHtml("/");
|
||||
|
||||
expect(html).toContain("Сейчас доступен только каркас интерфейса");
|
||||
expect(html).toContain("Регистрация, вход и основные сценарии кабинетов уже работают");
|
||||
expect(html).not.toContain("каркас");
|
||||
expect(html).not.toContain("Пустой каркас");
|
||||
expect(html).toContain("Пока не готово");
|
||||
expect(html).toMatch(/<a[^>]*href="\/login"[^>]*>Войти<\/a>/);
|
||||
expect(html).toMatch(/<a[^>]*href="\/register"[^>]*>Зарегистрироваться<\/a>/);
|
||||
// The API liveness check lives on the technical page, not on the landing.
|
||||
expect(html).not.toContain("healthz");
|
||||
expect(html).toMatch(/<a[^>]*href="\/status"[^>]*>Технический статус<\/a>/);
|
||||
|
||||
Reference in new issue
Block a user