diff --git a/plugins/woocommerce/tests/performance/requests/shopper/cart.js b/plugins/woocommerce/tests/performance/requests/shopper/cart.js index 21f38e2956b..eef9b0b2673 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/cart.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/cart.js @@ -72,11 +72,11 @@ export function cart() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "Cart – WooCommerce Core E2E Test Suite"': ( + 'title is: "Cart – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'Cart – WooCommerce Core E2E Test Suite', + 'Cart – WooCommerce E2E Tests', "body does not contain: 'your cart is currently empty'": ( response ) => ! response.body.includes( 'Your cart is currently empty.' ), diff --git a/plugins/woocommerce/tests/performance/requests/shopper/category-page.js b/plugins/woocommerce/tests/performance/requests/shopper/category-page.js index e5be767659b..885d14fd7b6 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/category-page.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/category-page.js @@ -44,11 +44,11 @@ export function categoryPage() { ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "Accessories – WooCommerce Core E2E Test Suite"': ( + 'title is: "Accessories – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'Accessories – WooCommerce Core E2E Test Suite', + 'Accessories – WooCommerce E2E Tests', "body contains: Category's title": ( response ) => response.body.includes( `

${ product_category }

` diff --git a/plugins/woocommerce/tests/performance/requests/shopper/checkout-customer-login.js b/plugins/woocommerce/tests/performance/requests/shopper/checkout-customer-login.js index 57b4c898c0e..4f6edafea96 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/checkout-customer-login.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/checkout-customer-login.js @@ -70,11 +70,11 @@ export function checkoutCustomerLogin() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "Checkout – WooCommerce Core E2E Test Suite"': ( + 'title is: "Checkout – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'Checkout – WooCommerce Core E2E Test Suite', + 'Checkout – WooCommerce E2E Tests', 'body contains checkout class': ( response ) => response.body.includes( 'class="checkout woocommerce-checkout"' @@ -273,11 +273,11 @@ export function checkoutCustomerLogin() { tags: { name: 'Shopper - Order Received' }, } ); check( response, { - 'title is: "Checkout – WooCommerce Core E2E Test Suite"': ( + 'title is: "Checkout – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'Checkout – WooCommerce Core E2E Test Suite', + 'Checkout – WooCommerce E2E Tests', "body contains: 'Thank you. Your order has been received.'": ( response ) => diff --git a/plugins/woocommerce/tests/performance/requests/shopper/checkout-guest.js b/plugins/woocommerce/tests/performance/requests/shopper/checkout-guest.js index ef41cce033c..d94148aad04 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/checkout-guest.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/checkout-guest.js @@ -60,11 +60,11 @@ export function checkoutGuest() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "Checkout – WooCommerce Core E2E Test Suite"': ( + 'title is: "Checkout – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'Checkout – WooCommerce Core E2E Test Suite', + 'Checkout – WooCommerce E2E Tests', "body contains: 'woocommerce-checkout' class": ( response ) => response.body.includes( 'class="checkout woocommerce-checkout"' @@ -184,11 +184,11 @@ export function checkoutGuest() { tags: { name: 'Shopper - Order Received' }, } ); check( response, { - 'title is: "Checkout – WooCommerce Core E2E Test Suite"': ( + 'title is: "Checkout – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'Checkout – WooCommerce Core E2E Test Suite', + 'Checkout – WooCommerce E2E Tests', "body contains: 'Thank you. Your order has been received.'": ( response ) => diff --git a/plugins/woocommerce/tests/performance/requests/shopper/home.js b/plugins/woocommerce/tests/performance/requests/shopper/home.js index 7a7b8ba0498..aec7f223155 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/home.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/home.js @@ -36,9 +36,9 @@ export function homePage() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "WooCommerce Core E2E Test Suite"': ( response ) => + 'title is: "WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'WooCommerce Core E2E Test Suite', + 'WooCommerce E2E Tests', 'footer contains: Built with WooCommerce': ( response ) => response .html() diff --git a/plugins/woocommerce/tests/performance/requests/shopper/my-account-orders.js b/plugins/woocommerce/tests/performance/requests/shopper/my-account-orders.js index 54918a8aed4..c75c8692cc1 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/my-account-orders.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/my-account-orders.js @@ -40,11 +40,11 @@ export function myAccountOrders() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "My account – WooCommerce Core E2E Test Suite"': ( + 'title is: "My account – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'My account – WooCommerce Core E2E Test Suite', + 'My account – WooCommerce E2E Tests', 'body contains: my account welcome message': ( response ) => response.body.includes( 'From your account dashboard you can view' @@ -75,11 +75,11 @@ export function myAccountOrders() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "My account – WooCommerce Core E2E Test Suite"': ( + 'title is: "My account – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'My account – WooCommerce Core E2E Test Suite', + 'My account – WooCommerce E2E Tests', "body contains: 'Orders' title": ( response ) => response.body.includes( '>Orders' ), 'footer contains: Built with WooCommerce': ( response ) => @@ -116,11 +116,11 @@ export function myAccountOrders() { ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "My account – WooCommerce Core E2E Test Suite"': ( + 'title is: "My account – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'My account – WooCommerce Core E2E Test Suite', + 'My account – WooCommerce E2E Tests', "body contains: 'Order number' title": ( response ) => response.body.includes( `${ my_account_order_id }` ), 'footer contains: Built with WooCommerce': ( response ) => diff --git a/plugins/woocommerce/tests/performance/requests/shopper/my-account.js b/plugins/woocommerce/tests/performance/requests/shopper/my-account.js index c39626fa5af..fb86fefa014 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/my-account.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/my-account.js @@ -45,11 +45,11 @@ export function myAccount() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: "My account – WooCommerce Core E2E Test Suite"': ( + 'title is: "My account – WooCommerce E2E Tests"': ( response ) => response.html().find( 'head title' ).text() === - 'My account – WooCommerce Core E2E Test Suite', + 'My account – WooCommerce E2E Tests', "body contains: 'My account' title": ( response ) => response.body.includes( '>My account' ), 'footer contains: Built with WooCommerce': ( response ) => diff --git a/plugins/woocommerce/tests/performance/requests/shopper/search-product.js b/plugins/woocommerce/tests/performance/requests/shopper/search-product.js index edbdd662266..1a3b8626062 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/search-product.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/search-product.js @@ -44,14 +44,14 @@ export function searchProduct() { ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title matches: Search Results for {product_search_term} – WooCommerce Core E2E Test Suite': + 'title matches: Search Results for {product_search_term} – WooCommerce E2E Tests': ( response ) => { const title_actual = response .html() .find( 'head title' ) .text(); const title_expected = new RegExp( - `Search Results for .${ product_search_term }. – WooCommerce Core E2E Test Suite` + `Search Results for .${ product_search_term }. – WooCommerce E2E Tests` ); return title_actual.match( title_expected ); }, diff --git a/plugins/woocommerce/tests/performance/requests/shopper/shop-page.js b/plugins/woocommerce/tests/performance/requests/shopper/shop-page.js index c1c9e626be8..942f1b1f3d3 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/shop-page.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/shop-page.js @@ -36,11 +36,11 @@ export function shopPage() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title equals: Shop – WooCommerce Core E2E Test Suite': ( + 'title equals: Shop – WooCommerce E2E Tests': ( response ) => response.html().find( 'head title' ).text() === - 'Shop – WooCommerce Core E2E Test Suite', + 'Shop – WooCommerce E2E Tests', 'body contains: woocommerce-products-header': ( response ) => response.body.includes( '
' diff --git a/plugins/woocommerce/tests/performance/requests/shopper/single-product.js b/plugins/woocommerce/tests/performance/requests/shopper/single-product.js index fa90b42a9be..f353d68ec02 100644 --- a/plugins/woocommerce/tests/performance/requests/shopper/single-product.js +++ b/plugins/woocommerce/tests/performance/requests/shopper/single-product.js @@ -42,7 +42,7 @@ export function singleProduct() { } ); check( response, { 'is status 200': ( r ) => r.status === 200, - 'title is: {product_url} – WooCommerce Core E2E Test Suite': ( + 'title is: {product_url} – WooCommerce E2E Tests': ( response ) => { const title_actual = response @@ -50,7 +50,7 @@ export function singleProduct() { .find( 'head title' ) .text(); const title_expected = new RegExp( - `${ product_url } – WooCommerce Core E2E Test Suite`, + `${ product_url } – WooCommerce E2E Tests`, 'i' ); return title_actual.match( title_expected );