fix: update guest tests to expect course package store instead of login prompt
This commit is contained in:
@@ -25,9 +25,8 @@ test.describe('核心全链路(访客)', () => {
|
||||
await page.waitForURL((u) => new URL(u).pathname === '/', {
|
||||
timeout: 60_000,
|
||||
});
|
||||
await expect(
|
||||
page.getByText('请返回微信小程序完成登录')
|
||||
).toBeVisible({ timeout: 60_000 });
|
||||
// Guest home now shows the course package store instead of login prompt
|
||||
await expect(page.locator('.course-package-store')).toBeVisible({ timeout: 60_000 });
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user