Update plugins/woocommerce/tests/performance/requests/merchant/orders-search.js

Co-authored-by: Tam Mullen <tam.mullen@automattic.com>
This commit is contained in:
Veljko V 2021-12-21 13:56:11 +01:00 committed by GitHub
parent 0fb8047bcc
commit 03a4ed7ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export function ordersSearch() {
postTypeOrderSearchTrend.add(response.timings.duration);
check(response, {
"is status 200": (r) => r.status === 200,
"body contains: 'Orders' header": (response) =>
"body contains: 'Search results' subtitle": (response) =>
response.body.includes("Search results for:"),
});
});