fix(h5): rename guest entry button to 游客登陆
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user