Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Fix Playwright E2E tests - SideEffects #11638

Merged
merged 5 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/BlockTypes/OrderConfirmation/Totals.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ protected function render_order_details_table_item_purchase_note( $order, $produ
* @return string
*/
protected function render_order_details_table_totals( $order ) {
add_filter( 'woocommerce_order_shipping_to_display_shipped_via', '__return_empty_string' );
wavvves marked this conversation as resolved.
Show resolved Hide resolved

$return = '';
$total_rows = array_diff_key(
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tests/checkout/checkout.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class CheckoutPage {
...this.testData,
...overrideAddressDetails,
};
const selector = `.woocommerce-column--${ shippingOrBilling }-address`;
const selector = `.wc-block-order-confirmation-${ shippingOrBilling }-address`;
const addressContainer = this.page.locator( selector );
await expect(
addressContainer.getByText( customerAddressDetails.firstname )
Expand Down
Loading