Merge pull request #33044 from woocommerce/update/k6-merch-wc-home-assert
Updated assertion for k6 merchant wc home request
This commit is contained in:
commit
e8740f8b73
|
@ -0,0 +1,5 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: fix
|
||||||
|
Comment: updating performance test request
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ export function homeWCAdmin() {
|
||||||
check(response, {
|
check(response, {
|
||||||
"is status 200": (r) => r.status === 200,
|
"is status 200": (r) => r.status === 200,
|
||||||
"body contains: current page is 'Home'": (response) =>
|
"body contains: current page is 'Home'": (response) =>
|
||||||
response.body.includes('aria-current="page">Home</a>'),
|
response.body.includes('aria-current="page">Home'),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Correlate nonce values for use in subsequent requests.
|
// Correlate nonce values for use in subsequent requests.
|
||||||
|
|
Loading…
Reference in New Issue