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
View File
@@ -63,6 +63,7 @@ try {
}
if (artifacts) { fs.mkdirSync(artifacts, { recursive: true }); await screenshot('guest-entry'); }
assert.equal(await page.locator('#login-consent').isChecked(), false);
assert.equal((await page.locator('[data-action="guest-experience"]').textContent()).trim(), '游客登陆');
await page.click('[data-action="guest-experience"]');
await page.waitForSelector('#s-splash.active');
assert.equal(await page.locator('#p-login-success.show').count(), 0, 'guest entry never shows login success');