Fix select element

This commit is contained in:
Veljko 2021-03-05 12:05:07 +01:00
parent 7eae2f2fe8
commit 7d8e5430ec
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ const runOrderSearchingTest = () => {
await clearAndFillInput('#_shipping_city', 'Buffalo');
await clearAndFillInput('#_shipping_postcode', '14201');
await page.waitFor(1000); // to avoid flakiness
await page.select('#_shipping_state', 'NY');
await page.select('select[name="_shipping_state"]', 'NY');
// Save new order
await page.click('button.save_order');