Compare commits
2 Commits
2c6b5c3d7b
...
301c42fa61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
301c42fa61 | ||
|
|
35d1f923e9 |
@ -4,6 +4,10 @@ import { captureScreenshot } from "./helpers";
|
||||
const fixture = "/e2e/fixtures/chart-links.html";
|
||||
|
||||
test("chart links cannot execute script when clicked or expanded", async ({ page }, testInfo) => {
|
||||
test.setTimeout(120_000);
|
||||
// ChartCanvas lazy-loads Observable Plot; pay the import cost once before the matrix below.
|
||||
await page.goto(`${fixture}?${new URLSearchParams({ href: "#details", inspect: "0" })}`);
|
||||
await expect(page.locator("svg circle").first()).toBeVisible({ timeout: 90_000 });
|
||||
for (const inspect of ["0", "1"]) {
|
||||
for (const href of [
|
||||
'javascript:void(document.body.dataset.plotExecuted="yes")',
|
||||
|
||||
@ -1301,8 +1301,9 @@ describeJourneys("required product journeys", () => {
|
||||
});
|
||||
|
||||
await joinMainConversation(prisma, { userId: me.userId, botIds: [writer.id] });
|
||||
// Lab has a main conversation of its own; the home one is where Writer joined.
|
||||
const conversation = await prisma.chatGroup.findFirstOrThrow({
|
||||
where: { userId: me.userId, kind: "main" },
|
||||
where: { userId: me.userId, spaceId: main.spaceId, kind: "main" },
|
||||
include: { thread: true },
|
||||
});
|
||||
const inMain = await scheduleAndWake("Writer", "main-digest");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user