Change Accessories with Category's text
This commit is contained in:
parent
a5ef3fecf6
commit
348396ec71
|
@ -30,7 +30,7 @@ export function categoryPage() {
|
||||||
categoryPageTrend.add(response.timings.duration);
|
categoryPageTrend.add(response.timings.duration);
|
||||||
check(response, {
|
check(response, {
|
||||||
"is status 200": (r) => r.status === 200,
|
"is status 200": (r) => r.status === 200,
|
||||||
"body contains: 'Accessories' title": (response) =>
|
"body contains: Category's title": (response) =>
|
||||||
response.body.includes(
|
response.body.includes(
|
||||||
`<h1 class="woocommerce-products-header__title page-title">${product_category}</h1>`
|
`<h1 class="woocommerce-products-header__title page-title">${product_category}</h1>`
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue