fix: update guest tests to expect course package store instead of login prompt

This commit is contained in:
2026-05-01 10:37:48 +08:00
parent a20011ca8f
commit 97602b67b6
3 changed files with 10 additions and 14 deletions
+2 -3
View File
@@ -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 });
});
});