[e2e test] Fix locator for customer combobox in create order test (#45983)
This commit is contained in:
parent
271da399cc
commit
6ddbbae207
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
E2E tests: fix locator in create order tests
|
|
@ -361,7 +361,9 @@ test.describe( 'WooCommerce Orders > Add new order', () => {
|
|||
|
||||
// Select customer
|
||||
await page.getByText( 'Guest' ).click();
|
||||
await page.getByRole( 'combobox' ).nth( 4 ).fill( 'sideshowbob@' );
|
||||
await page
|
||||
.locator( 'input[aria-owns="select2-customer_user-results"]' )
|
||||
.fill( 'sideshowbob@' );
|
||||
await page.getByRole( 'option', { name: 'Sideshow Bob' } ).click();
|
||||
|
||||
// Add a product
|
||||
|
|
Loading…
Reference in New Issue