fix(e2e): 课程体系 Cell 文案匹配放宽
Made-with: Cursor
This commit is contained in:
@@ -51,7 +51,7 @@ async function waitForCourseRealmVisible(page: Page) {
|
|||||||
if (
|
if (
|
||||||
await page
|
await page
|
||||||
.locator('.van-cell')
|
.locator('.van-cell')
|
||||||
.filter({ hasText: /^课程体系$/ })
|
.filter({ hasText: /课程体系/ })
|
||||||
.first()
|
.first()
|
||||||
.isVisible()
|
.isVisible()
|
||||||
.catch(() => false)
|
.catch(() => false)
|
||||||
|
|||||||
Reference in New Issue
Block a user