
* Add TTL expiration & migrate some components in channel details * Migrate button * Update fixtures * Add changeset * Typo & lint * Reorder UI elements * Set custom height to match old input * Add explanatory comment * test - created test for expired orderes functionality in channels, fixed validation test which checks using same slug twice when creating channel * Fix create page * Fix lint issue * Fix error handling double notification * tests added: creating channel with expiration days for orders, creating channel with expiration days for orders with boundary conditions exciding requirements * function name typeExpirationDate changed to typeExpirationDays --------- Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
19 lines
1 KiB
JavaScript
19 lines
1 KiB
JavaScript
export const ADD_CHANNEL_FORM_SELECTORS = {
|
|
channelName: "[name='name']",
|
|
slug: "[name='slug']",
|
|
currency: "[data-test-id='channel-currency-select-input']",
|
|
currencyOptions: "[data-test-id='single-autocomplete-select-option']",
|
|
saveButton: "[data-test-id='button-bar-confirm']",
|
|
backToChannelsList: "[data-test-id='app-header-back-button']",
|
|
currencyValidationMessage: "[data-test-id='currency-text-input-helper-text']",
|
|
slugValidationMessage: "[data-test-id='slug-text-input-helper-text']",
|
|
currencyAutocompleteDropdown:
|
|
"[data-test-id='single-autocomplete-select-option'][data-test-type='custom']",
|
|
addShippingZoneButton: '[data-test-id="shipping-add-button"]',
|
|
addWarehouseButton: '[data-test-id="warehouse-add-button"]',
|
|
shippingAutocompleteSelect: "[data-test-id='shipping-auto-complete-select']",
|
|
warehouseAutocompleteSelect:
|
|
"[data-test-id='warehouse-auto-complete-select']",
|
|
countryAutocompleteInput: '[data-test-id="country-select-input"]',
|
|
generalInformationSection: '[data-test-id="general-information"]',
|
|
};
|