diff --git a/tests/playwright/e2e/afd-page.spec.js b/tests/playwright/e2e/afd-page.spec.js index 5230e153a..24fbfe561 100644 --- a/tests/playwright/e2e/afd-page.spec.js +++ b/tests/playwright/e2e/afd-page.spec.js @@ -5,22 +5,36 @@ const path = require("path"); const { describe, beforeEach } = test; -const PRODUCT_PATH = path.resolve(__dirname, "..", "..", "api", "data", "testing", "products"); +const PRODUCT_PATH = path.resolve( + __dirname, + "..", + "..", + "api", + "data", + "testing", + "products", +); const OKX_REFERENCES = JSON.parse( - fs.readFileSync(path.join(PRODUCT_PATH, "types", "AFD", "locations", "OKX.json")).toString() + fs + .readFileSync( + path.join(PRODUCT_PATH, "types", "AFD", "locations", "OKX.json"), + ) + .toString(), ); const OVERALL_REFERENCES = JSON.parse( - fs.readFileSync(path.join(PRODUCT_PATH, "types", "AFD.json")).toString() + fs.readFileSync(path.join(PRODUCT_PATH, "types", "AFD.json")).toString(), ); const firstId = OKX_REFERENCES["@graph"][0].id; describe("AFD Page Tests", () => { describe("Partial HTML routes", () => { - test("Can retrieve