Версия и дата сборки на странице ручных тестов (BUILD_DATE в образе); исправление теста
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m46s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 10:20:07 +03:00
parent 62dfe89f96
commit d1e3f18817
5 changed files with 19 additions and 3 deletions

View File

@@ -53,6 +53,8 @@ describe("вебхук Intuit", () => {
const page = await app.inject({ url: `/tests/${slug}` });
expect(page.statusCode).toBe(200);
expect(page.body).toContain("location.pathname");
expect(page.body).toContain("Версия:");
expect(page.body).not.toContain("__BUILD__");
expect(page.body).toContain("sandbox.qbo.intuit.com/app/appcenter/myapps");
expect(page.headers["cache-control"]).toBe("no-cache, no-store");
expect(page.headers["referrer-policy"]).toBe("no-referrer");