Updated assertion for admin.php?page=wc-admin k6 performance request

This commit is contained in:
Tam Mullen 2022-05-15 22:13:52 +01:00
parent cd0a491094
commit dff5d18c4c
1 changed files with 1 additions and 1 deletions

View File

@ -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.