Prevents page.pause reaching main

pull/9137/head
zomars 2023-05-29 18:28:40 -07:00
parent 0075414c8b
commit 79e914b0fb
4 changed files with 1 additions and 3 deletions

View File

@ -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);
});

View File

@ -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

View File

@ -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"]');

View File

@ -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": [