feat(assessment): watermark the task text of real attempts

This commit is contained in:
shira committed 2026-10-11 10:44:30 +03:00
1 parent 24b64d698a
commit c975a0d506
57 files changed
+2429 -92

No files matched your search

@@ -4,8 +4,8 @@ import { knownSignalNoticeVersion } from "../model/notice-content";
import { SignalNoticeContent, SignalNoticeDialog, SignalNoticeSummary } from "./signal-notice";
describe("signal notice", () => {
it("is version 2, the text that added the attempt measures", () => {
expect(knownSignalNoticeVersion).toBe(2);
it("is version 3, the text that describes the watermark", () => {
expect(knownSignalNoticeVersion).toBe(3);
});
it("lists every measure the page applies during a real attempt", () => {
@@ -19,7 +19,9 @@ describe("signal notice", () => {
expect(markup).toContain("Вставка в поля ответа");
expect(markup).toContain("В редакторе кода вставка разрешена");
expect(markup).toContain("Водяной знак на странице задания");
expect(markup).toContain("Планируется");
expect(markup).toContain("Бледная плитка с кодом попытки и временем");
expect(markup).toContain("невидимая метка в тексте задания");
expect(markup).not.toContain("Планируется");
});
it("says that keyboard input and screen readers keep working", () => {