saleor-dashboard/cypress/elements/shipping/shipping-rate-details.js
Karolina Rakoczy 5ede05affe
fix failing tests (#1797)
* fix failing tests

* fix tests for gift cards

* fix tests for gift cards

* upload video only when fail

* fix preorder time

* fixed translation page

* fix navigation, stripe and adyen

* fix graphQl npm

* update stories
2022-01-31 09:37:49 +01:00

16 lines
575 B
JavaScript

export const SHIPPING_RATE_DETAILS = {
inputName: "[name='name']",
priceInput: "[name='price']",
includePostalCodesCheckbox: '[value="INCLUDE"]',
excludePostalCodesCheckbox: '[value="EXCLUDE"]',
addPostalCodesButton: '[data-test="add-postal-code-range"]',
postalCodesForm: {
min: '[name="min"]',
max: '[name="max"]'
},
maxWeightInput: '[name*="maxValue"]',
minWeightInput: '[name*="minValue"]',
minDeliveryTimeInput: '[name="minDays"]',
maxDeliveryTimeInput: '[name="maxDays"]',
restrictWeightLimitCheckbox: '[name="orderValueRestricted"]'
};