From 348396ec71aaf9221b632fed8752fb9a777a7947 Mon Sep 17 00:00:00 2001 From: Veljko Date: Thu, 21 Oct 2021 14:55:39 +0200 Subject: [PATCH] Change Accessories with Category's text --- .../tests/performance/requests/shopper/category-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/tests/performance/requests/shopper/category-page.js b/plugins/woocommerce/tests/performance/requests/shopper/category-page.js index 15092c5a825..2128c71c540 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/category-page.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/category-page.js @@ -30,7 +30,7 @@ export function categoryPage() { categoryPageTrend.add(response.timings.duration); check(response, { "is status 200": (r) => r.status === 200, - "body contains: 'Accessories' title": (response) => + "body contains: Category's title": (response) => response.body.includes( `

${product_category}

` ),