diff --git a/docs/pr-screenshots/pap-9963/_briefing-desktop.html b/docs/pr-screenshots/pap-9963/_briefing-desktop.html deleted file mode 100644 index 3f3b5dd4d17..00000000000 --- a/docs/pr-screenshots/pap-9963/_briefing-desktop.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - Briefing — desktop - - - -
-
-

Briefing

-
8 active · 2 pinned · refreshed just now
-
- - -
-
-

Durable cards for areas of work that involve you. Pin the ones you always want to see.

- -
-
-

Needs your attention

- 3 - -
-
- -
-
- -
-
-

Live and in review

- 3 - -
-
-

Release readiness

In review
PAP-94102 issues· in 4h

Release notes drafted; CTO review queued. CI is green and QA validation is done.

-
-
- -
-
-

Recently done & stale

- 2 - -
-
-

GA migration spike

Stale
PAP-70002 issues· 2w ago

Spike paused 11 days; reviewer paged but no follow-up activity.

-
-
- -
- - \ No newline at end of file diff --git a/docs/pr-screenshots/pap-9963/_briefing-empty.html b/docs/pr-screenshots/pap-9963/_briefing-empty.html deleted file mode 100644 index 47d86bb67db..00000000000 --- a/docs/pr-screenshots/pap-9963/_briefing-empty.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - Briefing — desktop - - - -
-
-

Briefing

-
0 active · 0 pinned · refreshed just now
-
- - -
-
-

Durable cards for areas of work that involve you. Pin the ones you always want to see.

-
-
No briefs yet
-
Cards appear here once the Briefing Analyst picks up recent work. Pinned cards never expire.
-
-
- - \ No newline at end of file diff --git a/docs/pr-screenshots/pap-9963/_briefing-mobile.html b/docs/pr-screenshots/pap-9963/_briefing-mobile.html deleted file mode 100644 index 78f0e22e617..00000000000 --- a/docs/pr-screenshots/pap-9963/_briefing-mobile.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - Briefing — mobile - - - -
-
-

Briefing

-
8 active · 2 pinned · refreshed just now
-
- - -
-
-

Durable cards for areas of work that involve you. Pin the ones you always want to see.

- -
-
-

Needs your attention

- 3 - -
-
- -
-
- -
-
-

Live and in review

- 3 - -
-
-

Release readiness

In review
PAP-94102 issues· in 4h

Release notes drafted; CTO review queued. CI is green and QA validation is done.

-
-
- -
-
-

Recently done & stale

- 2 - -
-
-

GA migration spike

Stale
PAP-70002 issues· 2w ago

Spike paused 11 days; reviewer paged but no follow-up activity.

-
-
- -
- - \ No newline at end of file diff --git a/packages/plugins/plugin-briefs/tests/ui/screenshots.spec.tsx b/packages/plugins/plugin-briefs/tests/ui/screenshots.spec.tsx index 08fd26bb476..866a391b73f 100644 --- a/packages/plugins/plugin-briefs/tests/ui/screenshots.spec.tsx +++ b/packages/plugins/plugin-briefs/tests/ui/screenshots.spec.tsx @@ -129,15 +129,16 @@ describe.skipIf(!ENABLED)("Briefs screenshots", () => { it("captures desktop, mobile, and empty-state Briefing snapshots", async () => { await fs.mkdir(outDir, { recursive: true }); + const tmpDir = await fs.mkdtemp(path.join(__dirname, ".tmp-briefs-")); const cards = gallery(); const desktopHtml = staticPage({ cards, viewportWidth: desktopWidth }); const mobileHtml = staticPage({ cards, viewportWidth: mobileWidth }); const emptyHtml = staticPage({ cards: [], viewportWidth: desktopWidth }); - const desktopFile = path.join(outDir, "_briefing-desktop.html"); - const mobileFile = path.join(outDir, "_briefing-mobile.html"); - const emptyFile = path.join(outDir, "_briefing-empty.html"); + const desktopFile = path.join(tmpDir, "briefing-desktop.html"); + const mobileFile = path.join(tmpDir, "briefing-mobile.html"); + const emptyFile = path.join(tmpDir, "briefing-empty.html"); await fs.writeFile(desktopFile, desktopHtml); await fs.writeFile(mobileFile, mobileHtml); await fs.writeFile(emptyFile, emptyHtml); @@ -152,6 +153,7 @@ describe.skipIf(!ENABLED)("Briefs screenshots", () => { const stats = await fs.stat(path.join(outDir, name)); expect(stats.size).toBeGreaterThan(1024); } + await fs.rm(tmpDir, { recursive: true, force: true }); }, 60_000); });