Fix select element
This commit is contained in:
parent
7eae2f2fe8
commit
7d8e5430ec
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue