Remove count because other tests may have orders

This commit is contained in:
Jon Lane 2023-09-21 15:09:28 -07:00
parent eb495a0c33
commit 3d451e75a6
1 changed files with 0 additions and 3 deletions

View File

@ -67,9 +67,6 @@ test.describe( 'Bulk edit orders', () => {
test( 'can bulk update order status', async ( { page } ) => {
await page.goto( 'wp-admin/admin.php?page=wc-orders' );
// expect for there to be 5 orders (plus a header and footer row)
await expect( page.getByRole( 'row' ) ).toHaveCount( 7 );
// expect order status 'processing' to show
await expect( page.locator( `#order-${ orderId1 }`).getByText( 'Processing') ).toBeVisible();
await expect( page.locator( `#order-${ orderId2 }`).getByText( 'Processing') ).toBeVisible();