Skip to content

Commit

Permalink
debug with waitForSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelzaleski committed Dec 15, 2023
1 parent 5d0d906 commit d8ba572
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ describe( 'Order > Full refund', () => {

await page.waitForNavigation( { waitUntil: 'networkidle0' } );

await page.waitForSelector( '#woocommerce-order-notes', {
timeout: 10000,
} );
await Promise.all( [
// Verify the product line item shows the refunded amount
expect( page ).toMatchElement( '.line_cost .refunded', {
Expand Down

0 comments on commit d8ba572

Please sign in to comment.