From b1ed9e65d80f9245680666c2a6e89c8bf4a44a6f Mon Sep 17 00:00:00 2001 From: Veljko Date: Fri, 19 Feb 2021 18:59:24 +0100 Subject: [PATCH] Fix failing build on TravisCI --- .../core-tests/specs/merchant/wp-admin-order-searching.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/core-tests/specs/merchant/wp-admin-order-searching.test.js b/tests/e2e/core-tests/specs/merchant/wp-admin-order-searching.test.js index 0d17194d051..a6d294a697c 100644 --- a/tests/e2e/core-tests/specs/merchant/wp-admin-order-searching.test.js +++ b/tests/e2e/core-tests/specs/merchant/wp-admin-order-searching.test.js @@ -35,7 +35,8 @@ const runOrderSearchingTest = () => { await clearAndFillInput('#_shipping_address_2', 'Linwood Ave'); await clearAndFillInput('#_shipping_city', 'Buffalo'); await clearAndFillInput('#_shipping_postcode', '14201'); - await page.select('#_shipping_state', 'NY'); + await page.click('._shipping_state_field'); + await selectOptionInSelect2('New York'); // Save new order await page.click('button.save_order');