Updated assertion for admin.php?page=wc-admin k6 performance request
This commit is contained in:
parent
cd0a491094
commit
dff5d18c4c
|
@ -46,7 +46,7 @@ export function homeWCAdmin() {
|
|||
check(response, {
|
||||
"is status 200": (r) => r.status === 200,
|
||||
"body contains: current page is 'Home'": (response) =>
|
||||
response.body.includes('>Home</h1>'),
|
||||
response.body.includes('aria-current="page">Home'),
|
||||
});
|
||||
|
||||
// Correlate nonce values for use in subsequent requests.
|
||||
|
|
Loading…
Reference in New Issue