All checks #430
Annotations
1 error and 1 notice
apps/web/playwright/fixtures/regularBookings.ts#L172
1) [@***com/web] › apps/web/playwright/eventType/limit-tab.e2e.ts:12:7 › Limits Tab - Event Type › Check the functionalities of the Limits Tab
locator.click: Error: strict mode violation: getByRole('button', { name: 'Add Limit' }) resolved to 2 elements:
1) <button type="button" class="whitespace-nowrap inline-fl…>…</button> aka getByRole('list').filter({ hasText: 'Per dayPer weekAdd Limit' }).getByRole('button', { name: 'Add Limit' })
2) <button type="button" class="whitespace-nowrap inline-fl…>…</button> aka getByRole('list').filter({ hasText: 'MinutesPer dayAdd Limit' }).getByRole('button', { name: 'Add Limit' })
=========================== logs ===========================
waiting for getByRole('button', { name: 'Add Limit' })
============================================================
at apps/web/playwright/fixtures/regularBookings.ts:172
170 |
171 | await limitDurationSwitch.click();
> 172 | await page.getByRole("button", { name: addlimit }).click();
| ^
173 | await expect(page.getByTestId("add-limit")).toHaveCount(2);
174 | await limitDurationSwitch.click();
175 | },
at Object.checkLimitBookingDuration (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/fixtures/regularBookings.ts:172:58)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/eventType/limit-tab.e2e.ts:14:5
|
|
The logs for this run have expired and are no longer available.
Loading