This commit is contained in:
wenpeng 2024-11-07 20:35:26 +08:00 committed by LingandRX
parent 207a5aa798
commit e7edca3acc

View File

@ -45,7 +45,7 @@ for (let i = 0; i < 10; i++) {
await h5Page.locator('.bar_item', { hasText: '商城' }).click();
await expect(h5Page.locator('.title', { hasText: '商城' })).toBeVisible();
await h5Page.locator('.li span', { hasText: '全部' }).click();
await h5Page.locator('.p-item').first().click();
await h5Page.locator('.p-item').nth(1).click();
await h5Page.waitForLoadState();
await h5Page.getByText('立即购买').click();
await h5Page