fix(h5): rename guest entry button to 游客登陆

This commit is contained in:
xsl
2026-10-13 15:28:07 +08:00
parent 1fdbb575b0
commit 4e42e33994
9 changed files with 137 additions and 130 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ try {
await page.goto(base); await page.waitForLoadState('networkidle');
assert.equal(await page.title(), "1'me肌肤状态检测");
assert.equal(await page.locator('meta[property="og:title"]').getAttribute('content'), "1'me肌肤状态检测");
assert.equal((await page.locator('[data-action="guest-experience"]').textContent()).trim(), '免登录体验');
assert.equal((await page.locator('[data-action="guest-experience"]').textContent()).trim(), '游客登陆');
assert(!requests.some(p => /scan-(base|face)|\.woff2$|faceapi/.test(p)), 'no heavy/scanning entry requests');
await page.click('[data-action="guest-experience"]');
await page.waitForSelector('#s-splash.active');