Skip to content

Commit

Permalink
updated woo success locator
Browse files Browse the repository at this point in the history
  • Loading branch information
shashwatahalder01 committed Feb 16, 2024
1 parent f56cdaa commit 46899ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
12 changes: 6 additions & 6 deletions tests/pw/pages/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4056,7 +4056,7 @@ export const selector = {
approveThisQuote: 'button[name="approved_by_vendor_button"]',
convertToOrder: 'button[name="dokan_convert_to_order_customer"]',

message: '.woocommerce .is-success',
message: '.woocommerce-message',
},
},

Expand Down Expand Up @@ -5009,7 +5009,7 @@ export const selector = {

addBooking: 'input[value="Add Booking"][type="submit"]',

successMessage: '.woocommerce .is-success',
successMessage: '.woocommerce-message',
},

// Manage Booking
Expand Down Expand Up @@ -6314,7 +6314,7 @@ export const selector = {
billingEmailAddress: '#billing_email',
billingSaveAddress: '//button[@name="save_address"]',
// Success Message
successMessage: '.woocommerce .is-success',
successMessage: '.woocommerce-message',
},

// Shipping Address
Expand All @@ -6338,7 +6338,7 @@ export const selector = {
shippingSaveAddress: '//button[@name="save_address"]',

// Success Message
successMessage: '.woocommerce .is-success',
successMessage: '.woocommerce-message',
},
},

Expand Down Expand Up @@ -7154,7 +7154,7 @@ export const selector = {

updateQuote: 'button[name="dokan_update_quote"]',

message: '.woocommerce .is-success',
message: '.woocommerce-message',
},
},
},
Expand Down Expand Up @@ -7465,7 +7465,7 @@ export const selector = {
},

cWooSelector: {
wooCommerceSuccessMessage: '.woocommerce .is-success',
wooCommerceSuccessMessage: '.woocommerce-message',
wooCommerceError: '.woocommerce .is-error',
wooCommerceInfo: '.woocommerce .is-info',
wooCommerceNoriceBanner: 'div.wc-block-components-notice-banner',
Expand Down
9 changes: 0 additions & 9 deletions tests/pw/utils/data.json

This file was deleted.

0 comments on commit 46899ee

Please sign in to comment.