From da7885c66833c3b81ed098b303f701444c5abe8b Mon Sep 17 00:00:00 2001 From: Robert Field Date: Sat, 18 Nov 2023 15:45:00 +0100 Subject: [PATCH] build: testing if skipping in ci --- examples/simple/e2e/checkout-flow.spec.ts | 6 ------ examples/simple/e2e/home-page.spec.ts | 4 ---- examples/simple/e2e/product-details-page.spec.ts | 4 ---- 3 files changed, 14 deletions(-) diff --git a/examples/simple/e2e/checkout-flow.spec.ts b/examples/simple/e2e/checkout-flow.spec.ts index ac45dc36..fa5e57ca 100644 --- a/examples/simple/e2e/checkout-flow.spec.ts +++ b/examples/simple/e2e/checkout-flow.spec.ts @@ -8,12 +8,6 @@ import { gatewayIsEnabled } from "./util/gateway-is-enabled"; import { skipIfCIEnvironment } from "./util/skip-ci-env"; test.describe("Checkout flow", async () => { - test.beforeEach(async () => { - skipIfCIEnvironment(); - await skipIfMissingCatalog(); - await gatewayIsEnabled(); - }); - test("should perform product checkout", async ({ page }) => { const productDetailPage = createD2CProductDetailPage(page, client); const cartPage = createD2CCartPage(page); diff --git a/examples/simple/e2e/home-page.spec.ts b/examples/simple/e2e/home-page.spec.ts index 7144e7fd..de251ea1 100644 --- a/examples/simple/e2e/home-page.spec.ts +++ b/examples/simple/e2e/home-page.spec.ts @@ -3,10 +3,6 @@ import { createD2CHomePage } from "./models/d2c-home-page"; import { skipIfMissingCatalog } from "./util/missing-published-catalog"; test.describe("Home Page", async () => { - test.beforeEach(async () => { - // await skipIfMissingCatalog(); - }); - test("should load home page", async ({ page }) => { const d2cHomePage = createD2CHomePage(page); await d2cHomePage.goto(); diff --git a/examples/simple/e2e/product-details-page.spec.ts b/examples/simple/e2e/product-details-page.spec.ts index fd8823c8..b65cad74 100644 --- a/examples/simple/e2e/product-details-page.spec.ts +++ b/examples/simple/e2e/product-details-page.spec.ts @@ -4,10 +4,6 @@ import { client } from "./util/epcc-client"; import { skipIfMissingCatalog } from "./util/missing-published-catalog"; test.describe("Product Details Page", async () => { - test.beforeEach(async () => { - await skipIfMissingCatalog(); - }); - test("should add a simple product to cart", async ({ page }) => { const productDetailPage = createD2CProductDetailPage(page, client);