Prevents page.pause reaching main
parent
0075414c8b
commit
79e914b0fb
|
@ -65,7 +65,6 @@ testBothBookers.describe("pro user", () => {
|
|||
});
|
||||
|
||||
test("pro user's page has at least 2 visible events", async ({ page }) => {
|
||||
// await page.pause();
|
||||
const $eventTypes = page.locator("[data-testid=event-types] > *");
|
||||
expect(await $eventTypes.count()).toBeGreaterThanOrEqual(2);
|
||||
});
|
||||
|
|
|
@ -427,7 +427,6 @@ testBothBookers.describe("Booking with Seats", (bookerVariant) => {
|
|||
'p[data-testid="attendee-email-second+seats@cal.com"]'
|
||||
);
|
||||
await expect(foundSecondAttendeeAsOwner).toHaveCount(1);
|
||||
await page.pause();
|
||||
await page.goto("auth/logout");
|
||||
|
||||
// Now we cancel the booking as the first attendee
|
||||
|
|
|
@ -15,7 +15,6 @@ test.fixme("hash my url", () => {
|
|||
await users.deleteAll();
|
||||
});
|
||||
test("generate url hash", async ({ page }) => {
|
||||
// await page.pause();
|
||||
await page.goto("/event-types");
|
||||
// We wait until loading is finished
|
||||
await page.waitForSelector('[data-testid="event-types"]');
|
||||
|
|
|
@ -22,6 +22,7 @@ module.exports = {
|
|||
"@next/next/no-img-element": "off",
|
||||
"@next/next/no-html-link-for-pages": "off",
|
||||
"jsx-a11y/role-supports-aria-props": "off", // @see https://github.com/vercel/next.js/issues/27989#issuecomment-897638654
|
||||
"playwright/no-page-pause": "error",
|
||||
"react/jsx-curly-brace-presence": ["error", { props: "never", children: "never" }],
|
||||
"react/self-closing-comp": ["error", { component: true, html: true }],
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
|
|
Loading…
Reference in New Issue