use delete focus selector available on order edit
This commit is contained in:
parent
ef2e226feb
commit
8830de1fa4
|
@ -110,7 +110,7 @@ const verifyPublishAndTrash = async ( button, publishNotice, publishVerification
|
||||||
}
|
}
|
||||||
|
|
||||||
// Trash
|
// Trash
|
||||||
await page.focus( '#submitdiv' );
|
await page.focus( 'a.submitdelete' );
|
||||||
await expect( page ).toClick( 'a.submitdelete' );
|
await expect( page ).toClick( 'a.submitdelete' );
|
||||||
await page.waitForSelector( '#message' );
|
await page.waitForSelector( '#message' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue