From f5ae3304a9ab33084f5ac5db5fca91f605fe8a99 Mon Sep 17 00:00:00 2001 From: mikkamp Date: Mon, 11 Mar 2024 16:39:31 +0000 Subject: [PATCH] Rename fixtures --- tests/e2e/utils/create-page.js | 4 ++-- .../product-collection.fixture.json | 0 .../utils/{__fixtures__ => fixtures}/products.fixture.json | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/e2e/utils/{__fixtures__ => fixtures}/product-collection.fixture.json (100%) rename tests/e2e/utils/{__fixtures__ => fixtures}/products.fixture.json (100%) diff --git a/tests/e2e/utils/create-page.js b/tests/e2e/utils/create-page.js index 2fbbcc5c..4822ebbb 100644 --- a/tests/e2e/utils/create-page.js +++ b/tests/e2e/utils/create-page.js @@ -94,7 +94,7 @@ export async function createProductCollectionBlockShopPage() { const { title, pageContent, - } = require( './__fixtures__/product-collection.fixture.json' ); + } = require( './fixtures/product-collection.fixture.json' ); return ( ( await pageExistsByTitle( title ) ) || @@ -111,7 +111,7 @@ export async function createProductsBlockShopPage() { const { title, pageContent, - } = require( './__fixtures__/products.fixture.json' ); + } = require( './fixtures/products.fixture.json' ); return ( ( await pageExistsByTitle( title ) ) || diff --git a/tests/e2e/utils/__fixtures__/product-collection.fixture.json b/tests/e2e/utils/fixtures/product-collection.fixture.json similarity index 100% rename from tests/e2e/utils/__fixtures__/product-collection.fixture.json rename to tests/e2e/utils/fixtures/product-collection.fixture.json diff --git a/tests/e2e/utils/__fixtures__/products.fixture.json b/tests/e2e/utils/fixtures/products.fixture.json similarity index 100% rename from tests/e2e/utils/__fixtures__/products.fixture.json rename to tests/e2e/utils/fixtures/products.fixture.json