From f401472fb9c4d878750270e2da5910782420968a Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 30 Oct 2026 12:31:01 +0100 Subject: [PATCH 1/2] test(website): dogfood a blog post with a non-ASCII html slug (AI-assisted) Regression test for exact .html routes with encoded characters: the browser URL is /caf%C3%A9.html while the router decodes it. Co-Authored-By: Claude Opus 5.5 --- .../_blog tests/2022-10-02-html-slug-non-ascii.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx diff --git a/website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx b/website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx new file mode 100644 index 000000000000..7659e95ad115 --- /dev/null +++ b/website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx @@ -0,0 +1,11 @@ +--- +title: A post with a non-ASCII html slug +unlisted: true +slug: /x/y/café.html +--- + +# Hmmm! + +This is a blog post with a non-ASCII html slug! + +Opened at `/tests/blog/x/y/café.html`, it should render only once, without hydration error. From 8a5a0512aebef5e40aedb9cd94ac6ae5809923f3 Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 30 Oct 2026 13:30:59 +0100 Subject: [PATCH 2/2] =?UTF-8?q?test(website):=20use=20a=20dogfood=20doc=20?= =?UTF-8?q?instead=20of=20a=20blog=20post=20for=20the=20caf=C3=A9=20repro?= =?UTF-8?q?=20(AI-assisted)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The blog post appeared in the sidebar of every dogfood blog page in the Argos dev build. Like dummy.html, the doc is in no sidebar. Co-Authored-By: Claude Opus 5.5 --- argos/tests/screenshot.spec.ts | 1 + .../_blog tests/2022-10-02-html-slug-non-ascii.mdx | 11 ----------- .../_dogfooding/_docs tests/html-slug-non-ascii.mdx | 7 +++++++ 3 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx create mode 100644 website/_dogfooding/_docs tests/html-slug-non-ascii.mdx diff --git a/argos/tests/screenshot.spec.ts b/argos/tests/screenshot.spec.ts index 95e88503a4ae..fcc7910a544c 100644 --- a/argos/tests/screenshot.spec.ts +++ b/argos/tests/screenshot.spec.ts @@ -60,6 +60,7 @@ function isBlacklisted(pathname: string) { // Flaky because of hydration error with docusaurus serve + .html '/tests/blog/x/y/z.html', '/tests/docs/dummy.html', + '/tests/docs/caf%C3%A9.html', // Cause weird docusaurus serve errors: '/tests/docs/tests/ascii/%C3%A6%C3%B8%C3%A5', '/tests/docs/tests/ascii/folder/%C3%A6%C3%B8%C3%A5', diff --git a/website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx b/website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx deleted file mode 100644 index 7659e95ad115..000000000000 --- a/website/_dogfooding/_blog tests/2022-10-02-html-slug-non-ascii.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: A post with a non-ASCII html slug -unlisted: true -slug: /x/y/café.html ---- - -# Hmmm! - -This is a blog post with a non-ASCII html slug! - -Opened at `/tests/blog/x/y/café.html`, it should render only once, without hydration error. diff --git a/website/_dogfooding/_docs tests/html-slug-non-ascii.mdx b/website/_dogfooding/_docs tests/html-slug-non-ascii.mdx new file mode 100644 index 000000000000..d2fec12d7860 --- /dev/null +++ b/website/_dogfooding/_docs tests/html-slug-non-ascii.mdx @@ -0,0 +1,7 @@ +--- +slug: café.html +--- + +# Doc with a non-ASCII html slug + +Opened at `/tests/docs/café.html`, it should render without hydration error.