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