EA-5: тест адреса Google, память проекта
All checks were successful
All checks were successful
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
39285b430a
commit
20b1e3d347
@ -18,3 +18,4 @@
|
||||
- Деплой по ссылке (EA-2): Dockerfile, deploy/compose.yml и /healthz уже работают; проверено docker build + запуск с PORT=3000. Спека `availability`.
|
||||
- Адрес возврата Google всегда https (кроме localhost): прокси на стенде отдаёт http, Google такой отклоняет (EA-3). Причина неудачи подключения — `GoogleError.kind` (setup/consent), счётчик неудач — cookie `ea_fail`, после 2-й подсказка `notice.<причина>.again`.
|
||||
- Плашка про примеры (mock.banner) видна только там, где есть примеры; образец списка на экране подключения грузит loadSample() в src/app.tsx через мок-клиент (EA-4).
|
||||
- EA-5: ошибка подключения стоит внутри карточки над кнопкой (`.note.error.inline`, data-testid="connect-error"); в тестах адрес Google — accounts.google.test/consent.
|
||||
|
||||
@ -530,6 +530,6 @@ describe("calendar-connection / Ошибка рядом с кнопкой пов
|
||||
expect(html.slice(error, button)).toMatch(/<\/p><a class="button" $/);
|
||||
const go = await visitor.get("/connect");
|
||||
expect(go.status).toBe(302);
|
||||
expect(go.headers.get("location")).toContain("accounts.google.com");
|
||||
expect(go.headers.get("location")).toContain("accounts.google.test/consent");
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user