From fc711e3b1c5a7a3caebcbb1888431014fc822c8b Mon Sep 17 00:00:00 2001 From: xsl Date: Tue, 13 Oct 2026 20:29:40 +0800 Subject: [PATCH] fix(h5): add comma after brand name on splash and photo guide --- graphify-out/manifest.json | 8 ++++---- h5/index.html | 4 ++-- h5/test/splash-brand-browser.mjs | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/graphify-out/manifest.json b/graphify-out/manifest.json index 91ce75c..68e2f27 100644 --- a/graphify-out/manifest.json +++ b/graphify-out/manifest.json @@ -140,8 +140,8 @@ "semantic_hash": "" }, "h5/index.html": { - "mtime": 1791886665.6930811, - "ast_hash": "f9f520bdd67e32920fc79d387de4a033", + "mtime": 1791894154.8087292, + "ast_hash": "f3c662c2976d141a844328daaf6269f3", "semantic_hash": "" }, "h5/vendor/faceapi/README.md": { @@ -2020,8 +2020,8 @@ "semantic_hash": "" }, "h5/test/splash-brand-browser.mjs": { - "mtime": 1791886665.6930811, - "ast_hash": "99c9c93f6eab48ce6de0d88fa348c50f", + "mtime": 1791894154.8087292, + "ast_hash": "f0927d459653a70bb8fbc668fa066dad", "semantic_hash": "" }, "docs/\u62cd\u6444\u89d2\u5ea6\u4e0d\u5408\u683c\u9707\u52a8\u63d0\u9192-2026-10-13.md": { diff --git a/h5/index.html b/h5/index.html index 929a0f1..de5d6bc 100644 --- a/h5/index.html +++ b/h5/index.html @@ -45,7 +45,7 @@
@@ -307,7 +307,7 @@
diff --git a/h5/test/splash-brand-browser.mjs b/h5/test/splash-brand-browser.mjs index 9f7613d..fdad47c 100644 --- a/h5/test/splash-brand-browser.mjs +++ b/h5/test/splash-brand-browser.mjs @@ -17,9 +17,10 @@ try { assert.match(await brand.getAttribute('aria-label'), /^1'me/); await page.waitForFunction(() => [...document.querySelectorAll('#s-splash .splash-slogan img')].every(i => i.complete && i.naturalWidth)); assert.equal(await page.locator('#s-splash .splash-slogan-brand').isVisible(), true); - assert.equal(await page.locator('#s-splash .splash-slogan-brand').textContent(), "1'me"); + assert.equal(await page.locator('#s-splash .splash-slogan-brand').textContent(), "1'me,"); assert.equal(await page.locator('#s-splash .splash-slogan-brand').evaluate(el => getComputedStyle(el).fontWeight), '400'); for (const root of ['#s-splash', '#p-photoguide']) { + assert.equal(await page.locator(root + ' .splash-slogan-brand').textContent(), "1'me,"); const fonts = await page.locator(root + ' .splash-slogan').evaluate(el => { return ['.splash-slogan-brand', '.splash-slogan-english'].map(selector => { const s = getComputedStyle(el.querySelector(selector));