Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/specs/evidence/declarations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ const brandedMobileCapture = <Id extends string>(
};

export const EVIDENCE_CAPTURES = [
brandedMobileCapture(
"writing.one-day-hears-and-the-others-do-not",
"one-days-audience",
".page-regions.admin-page",
),
brandedMobileCapture(
"servicing.hold-on-dashboard",
"servicing-studio-floor-hold",
Expand Down
4 changes: 4 additions & 0 deletions test/specs/support/bulk-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// jscpd:ignore-start
import { t } from "#i18n";
import { leaveEvidencePage } from "#scripts/specs/evidence/pages.ts";
import { hashEmail, unsubscribeHash } from "#shared/db/contact-preferences.ts";
import { settings } from "#shared/db/settings.ts";
import {
Expand Down Expand Up @@ -180,6 +181,9 @@ export const opensEmailForListingDay = async (
throw new Error(`${listingName} offers no way to write to ${date}`);
}
await browser.visit(wayIn);
// The compose page names the one day it is aimed at, which is the whole
// claim: a term booked date by date can be addressed a date at a time.
leaveEvidencePage(world, ["one-days-audience"], wayIn);
return browser;
};

Expand Down