Saleor 3357 tests for orders (#1119)
* add tests for puchase by type * add expect for isShippingRequired * tests for adyen * tests for adyen * tests for adyen * tests for adyen * adyen * adyen * adyen * adyen * adyen * warehouses in chcekout * rm warehouses in chcekout * adyen payments * adyen * tests for orders * fix shipping * unskipp * orders * add empty lines * add empty lines and reduce * add empty lines
This commit is contained in:
parent
5ace78f279
commit
0b1d0a3a54
16 changed files with 324 additions and 49 deletions
|
@ -52,19 +52,25 @@ export function createDraftOrder(
|
||||||
.sendRequestWithQuery(mutation)
|
.sendRequestWithQuery(mutation)
|
||||||
.its("body.data.draftOrderCreate.order");
|
.its("body.data.draftOrderCreate.order");
|
||||||
}
|
}
|
||||||
|
|
||||||
export function completeOrder(orderId) {
|
export function completeOrder(orderId) {
|
||||||
const mutation = `mutation{
|
const mutation = `mutation{
|
||||||
draftOrderComplete(id:"${orderId}"){
|
draftOrderComplete(id:"${orderId}"){
|
||||||
order{
|
order{
|
||||||
id
|
id
|
||||||
|
number
|
||||||
|
lines{
|
||||||
|
id
|
||||||
|
}
|
||||||
}
|
}
|
||||||
orderErrors{
|
orderErrors{
|
||||||
message
|
message
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}`;
|
}`;
|
||||||
return cy.sendRequestWithQuery(mutation);
|
return cy.sendRequestWithQuery(mutation).its("body.data.draftOrderComplete");
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getOrder(orderId) {
|
export function getOrder(orderId) {
|
||||||
const query = `query getOrder{
|
const query = `query getOrder{
|
||||||
order(id:"${orderId}"){
|
order(id:"${orderId}"){
|
||||||
|
@ -78,3 +84,30 @@ export function getOrder(orderId) {
|
||||||
}`;
|
}`;
|
||||||
cy.sendRequestWithQuery(query).its("body.data.order");
|
cy.sendRequestWithQuery(query).its("body.data.order");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function fulfillOrder({ orderId, warehouse, quantity, linesId }) {
|
||||||
|
const lines = linesId.reduce((lines, lineId) => {
|
||||||
|
const line = `{orderLineId:"${lineId.id}"
|
||||||
|
stocks:{
|
||||||
|
quantity:${quantity}
|
||||||
|
warehouse:"${warehouse}"
|
||||||
|
}
|
||||||
|
}`;
|
||||||
|
return lines + line;
|
||||||
|
}, "");
|
||||||
|
const mutation = `mutation fulfill{
|
||||||
|
orderFulfill(order:"${orderId}" input:{
|
||||||
|
lines:[${lines}]
|
||||||
|
}){
|
||||||
|
errors{
|
||||||
|
field
|
||||||
|
message
|
||||||
|
}
|
||||||
|
order{
|
||||||
|
id
|
||||||
|
number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`;
|
||||||
|
return cy.sendRequestWithQuery(mutation).its("body.data.orderFulfill");
|
||||||
|
}
|
||||||
|
|
3
cypress/elements/orders/order-refund.js
Normal file
3
cypress/elements/orders/order-refund.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export const ORDER_REFUND = {
|
||||||
|
productsQuantityInput: '[data-test="quantityInput"]'
|
||||||
|
};
|
|
@ -2,5 +2,9 @@ export const ORDERS_SELECTORS = {
|
||||||
orders: "[data-test='submenu-item-label'][data-test-id='orders']",
|
orders: "[data-test='submenu-item-label'][data-test-id='orders']",
|
||||||
createOrder: "[data-test-id='create-order-button']",
|
createOrder: "[data-test-id='create-order-button']",
|
||||||
orderRow: "[data-test-id='order-table-row']",
|
orderRow: "[data-test-id='order-table-row']",
|
||||||
salesChannel: "[data-test-id='order-sales-channel']"
|
salesChannel: "[data-test-id='order-sales-channel']",
|
||||||
|
cancelFulfillment: "[data-test-id='cancelFulfillmentButton']",
|
||||||
|
cancelFulfillmentSelectField: "[data-test-id='cancelFulfillmentSelectField']",
|
||||||
|
orderFulfillmentFrame: "[data-test-id='orderFulfillment']",
|
||||||
|
refundButton: '[data-test-id="refund-button"]'
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,5 +8,6 @@ export const BUTTON_SELECTORS = {
|
||||||
selectOption: "[data-test*='select-option']",
|
selectOption: "[data-test*='select-option']",
|
||||||
notSelectedOption: ":not([aria-selected])",
|
notSelectedOption: ":not([aria-selected])",
|
||||||
deleteButton: '[data-test="button-bar-delete"]',
|
deleteButton: '[data-test="button-bar-delete"]',
|
||||||
expandIcon: '[data-test-id="expand-icon"]'
|
expandIcon: '[data-test-id="expand-icon"]',
|
||||||
|
showMoreButton: '[data-test-id="showMoreButton"]'
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
export const SHARED_ELEMENTS = {
|
export const SHARED_ELEMENTS = {
|
||||||
header: "[data-test-id='page-header']",
|
header: "[data-test-id='page-header']",
|
||||||
progressBar: '[role="progressbar"]',
|
progressBar: '[role="progressbar"]',
|
||||||
skeleton: '[data-test-id="skeleton"]'
|
skeleton: '[data-test-id="skeleton"]',
|
||||||
|
table: 'table[class*="Table"]'
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,6 +8,8 @@ import {
|
||||||
addChannelToShippingZone
|
addChannelToShippingZone
|
||||||
} from "../../../apiRequests/ShippingMethod";
|
} from "../../../apiRequests/ShippingMethod";
|
||||||
import { createWarehouse } from "../../../apiRequests/Warehouse";
|
import { createWarehouse } from "../../../apiRequests/Warehouse";
|
||||||
|
import { BUTTON_SELECTORS } from "../../../elements/shared/button-selectors";
|
||||||
|
import { SHARED_ELEMENTS } from "../../../elements/shared/sharedElements";
|
||||||
import { SHIPPING_ZONE_DETAILS } from "../../../elements/shipping/shipping-zone-details";
|
import { SHIPPING_ZONE_DETAILS } from "../../../elements/shipping/shipping-zone-details";
|
||||||
import { selectChannelInHeader } from "../../../steps/channelsSteps";
|
import { selectChannelInHeader } from "../../../steps/channelsSteps";
|
||||||
import {
|
import {
|
||||||
|
@ -121,6 +123,12 @@ describe("Shipping methods", () => {
|
||||||
)
|
)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
cy.addAliasToGraphRequest("ShippingZone");
|
cy.addAliasToGraphRequest("ShippingZone");
|
||||||
|
cy.getTextFromElement(SHARED_ELEMENTS.table);
|
||||||
|
})
|
||||||
|
.then(tableText => {
|
||||||
|
if (!tableText.includes(shippingZone.name)) {
|
||||||
|
cy.get(BUTTON_SELECTORS.nextPaginationButton).click();
|
||||||
|
}
|
||||||
cy.contains(shippingZone.name).click();
|
cy.contains(shippingZone.name).click();
|
||||||
cy.wait("@ShippingZone");
|
cy.wait("@ShippingZone");
|
||||||
selectChannelInHeader(defaultChannel.name);
|
selectChannelInHeader(defaultChannel.name);
|
||||||
|
|
|
@ -18,7 +18,7 @@ import * as shippingUtils from "../../../utils/shippingUtils";
|
||||||
|
|
||||||
// <reference types="cypress" />
|
// <reference types="cypress" />
|
||||||
describe("Homepage analytics", () => {
|
describe("Homepage analytics", () => {
|
||||||
const startsWith = "CyHomeAnalytics-";
|
const startsWith = "CyHomeAnalytics";
|
||||||
|
|
||||||
let customerId;
|
let customerId;
|
||||||
let defaultChannel;
|
let defaultChannel;
|
||||||
|
@ -33,7 +33,7 @@ describe("Homepage analytics", () => {
|
||||||
const productPrice = 22;
|
const productPrice = 22;
|
||||||
const shippingPrice = 12;
|
const shippingPrice = 12;
|
||||||
const randomName = startsWith + faker.datatype.number();
|
const randomName = startsWith + faker.datatype.number();
|
||||||
const randomEmail = randomName + "@example.com";
|
const randomEmail = `${startsWith}${randomName}@example.com`;
|
||||||
|
|
||||||
before(() => {
|
before(() => {
|
||||||
cy.clearSessionData().loginUserViaRequest();
|
cy.clearSessionData().loginUserViaRequest();
|
||||||
|
@ -109,13 +109,13 @@ describe("Homepage analytics", () => {
|
||||||
homePageUtils
|
homePageUtils
|
||||||
.getOrdersReadyToFulfill(defaultChannel.slug)
|
.getOrdersReadyToFulfill(defaultChannel.slug)
|
||||||
.as("ordersReadyToFulfill");
|
.as("ordersReadyToFulfill");
|
||||||
createReadyToFulfillOrder(
|
createReadyToFulfillOrder({
|
||||||
customerId,
|
customerId,
|
||||||
shippingMethod.id,
|
shippingMethodId: shippingMethod.id,
|
||||||
defaultChannel.id,
|
channelId: defaultChannel.id,
|
||||||
createdVariants,
|
variantsList: createdVariants,
|
||||||
addresses.plAddress
|
address: addresses.plAddress
|
||||||
);
|
});
|
||||||
cy.get("@ordersReadyToFulfill").then(ordersReadyToFulfillBefore => {
|
cy.get("@ordersReadyToFulfill").then(ordersReadyToFulfillBefore => {
|
||||||
const allOrdersReadyToFulfill = ordersReadyToFulfillBefore + 1;
|
const allOrdersReadyToFulfill = ordersReadyToFulfillBefore + 1;
|
||||||
const notANumberRegex = "\\D*";
|
const notANumberRegex = "\\D*";
|
||||||
|
@ -130,6 +130,7 @@ describe("Homepage analytics", () => {
|
||||||
).should("be.visible");
|
).should("be.visible");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should correct amount of payments waiting for capture be displayed", () => {
|
it("should correct amount of payments waiting for capture be displayed", () => {
|
||||||
homePageUtils
|
homePageUtils
|
||||||
.getOrdersReadyForCapture(defaultChannel.slug)
|
.getOrdersReadyForCapture(defaultChannel.slug)
|
||||||
|
@ -157,6 +158,7 @@ describe("Homepage analytics", () => {
|
||||||
).should("be.visible");
|
).should("be.visible");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should correct amount of products out of stock be displayed", () => {
|
it("should correct amount of products out of stock be displayed", () => {
|
||||||
homePageUtils
|
homePageUtils
|
||||||
.getProductsOutOfStock(defaultChannel.slug)
|
.getProductsOutOfStock(defaultChannel.slug)
|
||||||
|
@ -188,16 +190,17 @@ describe("Homepage analytics", () => {
|
||||||
).should("be.visible");
|
).should("be.visible");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should correct amount of sales be displayed", () => {
|
it("should correct amount of sales be displayed", () => {
|
||||||
homePageUtils.getSalesAmount(defaultChannel.slug).as("salesAmount");
|
homePageUtils.getSalesAmount(defaultChannel.slug).as("salesAmount");
|
||||||
|
|
||||||
createReadyToFulfillOrder(
|
createReadyToFulfillOrder({
|
||||||
customerId,
|
customerId,
|
||||||
shippingMethod.id,
|
shippingMethodId: shippingMethod.id,
|
||||||
defaultChannel.id,
|
channelId: defaultChannel.id,
|
||||||
createdVariants,
|
variantsList: createdVariants,
|
||||||
addresses.plAddress
|
address: addresses.plAddress
|
||||||
);
|
});
|
||||||
|
|
||||||
cy.get("@salesAmount").then(salesAmount => {
|
cy.get("@salesAmount").then(salesAmount => {
|
||||||
const totalAmount = salesAmount + productPrice;
|
const totalAmount = salesAmount + productPrice;
|
||||||
|
@ -205,10 +208,11 @@ describe("Homepage analytics", () => {
|
||||||
const totalAmountIntegerValue = totalAmountString.split(".")[0];
|
const totalAmountIntegerValue = totalAmountString.split(".")[0];
|
||||||
const totalAmountDecimalValue = totalAmountString.split(".")[1];
|
const totalAmountDecimalValue = totalAmountString.split(".")[1];
|
||||||
const decimalSeparator = "[,.]";
|
const decimalSeparator = "[,.]";
|
||||||
const totalAmountIntegerWithThousandsSeparator = totalAmountIntegerValue.replace(
|
const totalAmountIntegerWithThousandsSeparator = new Intl.NumberFormat(
|
||||||
/(\d)(?=(\d{3})+(?!\d))/g,
|
"en"
|
||||||
"1[,.]*"
|
)
|
||||||
);
|
.format(totalAmountIntegerValue)
|
||||||
|
.replaceAll(",", "[,.]*");
|
||||||
const totalAmountWithSeparators = `${totalAmountIntegerWithThousandsSeparator}${decimalSeparator}${totalAmountDecimalValue}`;
|
const totalAmountWithSeparators = `${totalAmountIntegerWithThousandsSeparator}${decimalSeparator}${totalAmountDecimalValue}`;
|
||||||
const notANumberRegex = "\\D*";
|
const notANumberRegex = "\\D*";
|
||||||
const salesAmountRegexp = new RegExp(
|
const salesAmountRegexp = new RegExp(
|
||||||
|
@ -221,16 +225,17 @@ describe("Homepage analytics", () => {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should correct amount of orders be displayed", () => {
|
it("should correct amount of orders be displayed", () => {
|
||||||
homePageUtils.getTodaysOrders(defaultChannel.slug).as("todaysOrders");
|
homePageUtils.getTodaysOrders(defaultChannel.slug).as("todaysOrders");
|
||||||
|
|
||||||
createReadyToFulfillOrder(
|
createReadyToFulfillOrder({
|
||||||
customerId,
|
customerId,
|
||||||
shippingMethod.id,
|
shippingMethodId: shippingMethod.id,
|
||||||
defaultChannel.id,
|
channelId: defaultChannel.id,
|
||||||
createdVariants,
|
variantsList: createdVariants,
|
||||||
addresses.plAddress
|
address: addresses.plAddress
|
||||||
);
|
});
|
||||||
|
|
||||||
cy.get("@todaysOrders").then(ordersBefore => {
|
cy.get("@todaysOrders").then(ordersBefore => {
|
||||||
const allOrders = ordersBefore + 1;
|
const allOrders = ordersBefore + 1;
|
||||||
|
|
|
@ -5,12 +5,21 @@ import {
|
||||||
createCustomer,
|
createCustomer,
|
||||||
deleteCustomersStartsWith
|
deleteCustomersStartsWith
|
||||||
} from "../../../apiRequests/Customer";
|
} from "../../../apiRequests/Customer";
|
||||||
|
import { getOrder } from "../../../apiRequests/Order";
|
||||||
|
import { ORDER_REFUND } from "../../../elements/orders/order-refund";
|
||||||
import { ORDERS_SELECTORS } from "../../../elements/orders/orders-selectors";
|
import { ORDERS_SELECTORS } from "../../../elements/orders/orders-selectors";
|
||||||
|
import { BUTTON_SELECTORS } from "../../../elements/shared/button-selectors";
|
||||||
|
import { SHARED_ELEMENTS } from "../../../elements/shared/sharedElements";
|
||||||
import { selectChannelInPicker } from "../../../steps/channelsSteps";
|
import { selectChannelInPicker } from "../../../steps/channelsSteps";
|
||||||
import { finalizeDraftOrder } from "../../../steps/draftOrderSteps";
|
import { finalizeDraftOrder } from "../../../steps/draftOrderSteps";
|
||||||
|
import { fillAutocompleteSelect } from "../../../steps/shared/autocompleteSelect";
|
||||||
import { urlList } from "../../../url/urlList";
|
import { urlList } from "../../../url/urlList";
|
||||||
import { getDefaultChannel } from "../../../utils/channelsUtils";
|
import { getDefaultChannel } from "../../../utils/channelsUtils";
|
||||||
import { createOrder } from "../../../utils/ordersUtils";
|
import {
|
||||||
|
createFulfilledOrder,
|
||||||
|
createOrder,
|
||||||
|
createReadyToFulfillOrder
|
||||||
|
} from "../../../utils/ordersUtils";
|
||||||
import * as productsUtils from "../../../utils/products/productsUtils";
|
import * as productsUtils from "../../../utils/products/productsUtils";
|
||||||
import {
|
import {
|
||||||
createShipping,
|
createShipping,
|
||||||
|
@ -98,6 +107,7 @@ describe("Orders", () => {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should not be possible to change channel in order", () => {
|
it("should not be possible to change channel in order", () => {
|
||||||
createOrder({
|
createOrder({
|
||||||
customerId: customer.id,
|
customerId: customer.id,
|
||||||
|
@ -113,4 +123,69 @@ describe("Orders", () => {
|
||||||
.should("not.exist");
|
.should("not.exist");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("should cancel fulfillment", () => {
|
||||||
|
let order;
|
||||||
|
createFulfilledOrder({
|
||||||
|
customerId: customer.id,
|
||||||
|
channelId: defaultChannel.id,
|
||||||
|
shippingMethodId: shippingMethod.id,
|
||||||
|
variantsList,
|
||||||
|
address,
|
||||||
|
warehouse: warehouse.id
|
||||||
|
})
|
||||||
|
.then(({ order: orderResp }) => {
|
||||||
|
order = orderResp;
|
||||||
|
cy.visit(urlList.orders);
|
||||||
|
cy.contains(ORDERS_SELECTORS.orderRow, order.number).click();
|
||||||
|
cy.get(SHARED_ELEMENTS.skeleton)
|
||||||
|
.should("not.exist")
|
||||||
|
.get(ORDERS_SELECTORS.orderFulfillmentFrame)
|
||||||
|
.find(BUTTON_SELECTORS.showMoreButton)
|
||||||
|
.click()
|
||||||
|
.get(ORDERS_SELECTORS.cancelFulfillment)
|
||||||
|
.click();
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
fillAutocompleteSelect(
|
||||||
|
ORDERS_SELECTORS.cancelFulfillmentSelectField,
|
||||||
|
warehouse.name
|
||||||
|
);
|
||||||
|
cy.addAliasToGraphRequest("OrderFulfillmentCancel");
|
||||||
|
cy.get(BUTTON_SELECTORS.submit).click();
|
||||||
|
cy.wait("@OrderFulfillmentCancel");
|
||||||
|
getOrder(order.id);
|
||||||
|
})
|
||||||
|
.then(orderResp => {
|
||||||
|
expect(orderResp.status).to.be.eq("UNFULFILLED");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
it("should make a refund", () => {
|
||||||
|
let order;
|
||||||
|
createReadyToFulfillOrder({
|
||||||
|
customerId: customer.id,
|
||||||
|
channelId: defaultChannel.id,
|
||||||
|
shippingMethodId: shippingMethod.id,
|
||||||
|
variantsList,
|
||||||
|
address
|
||||||
|
})
|
||||||
|
.then(({ order: orderResp }) => {
|
||||||
|
order = orderResp;
|
||||||
|
cy.visit(urlList.orders);
|
||||||
|
cy.contains(ORDERS_SELECTORS.orderRow, order.number).click();
|
||||||
|
cy.get(ORDERS_SELECTORS.refundButton)
|
||||||
|
.click()
|
||||||
|
.get(ORDER_REFUND.productsQuantityInput)
|
||||||
|
.type("1")
|
||||||
|
.addAliasToGraphRequest("OrderFulfillmentRefundProducts");
|
||||||
|
cy.get(BUTTON_SELECTORS.submit)
|
||||||
|
.click()
|
||||||
|
.wait("@OrderFulfillmentRefundProducts");
|
||||||
|
getOrder(order.id);
|
||||||
|
})
|
||||||
|
.then(orderResp => {
|
||||||
|
expect(orderResp.paymentStatus).to.be.eq("FULLY_REFUNDED");
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { BUTTON_SELECTORS } from "../elements/shared/button-selectors";
|
import { BUTTON_SELECTORS } from "../elements/shared/button-selectors";
|
||||||
|
import { SHARED_ELEMENTS } from "../elements/shared/sharedElements";
|
||||||
import { SHIPPING_RATE_DETAILS } from "../elements/shipping/shipping-rate-details";
|
import { SHIPPING_RATE_DETAILS } from "../elements/shipping/shipping-rate-details";
|
||||||
import { SHIPPING_ZONE_DETAILS } from "../elements/shipping/shipping-zone-details";
|
import { SHIPPING_ZONE_DETAILS } from "../elements/shipping/shipping-zone-details";
|
||||||
import { SHIPPING_ZONES_LIST } from "../elements/shipping/shipping-zones-list";
|
import { SHIPPING_ZONES_LIST } from "../elements/shipping/shipping-zones-list";
|
||||||
|
@ -42,6 +43,8 @@ export function createShippingZone(
|
||||||
export function createShippingRate(rateName, price, rateOption) {
|
export function createShippingRate(rateName, price, rateOption) {
|
||||||
cy.get(rateOption)
|
cy.get(rateOption)
|
||||||
.click()
|
.click()
|
||||||
|
.get(SHARED_ELEMENTS.progressBar)
|
||||||
|
.should("not.be.visible")
|
||||||
.get(SHIPPING_RATE_DETAILS.inputName)
|
.get(SHIPPING_RATE_DETAILS.inputName)
|
||||||
.type(rateName)
|
.type(rateName)
|
||||||
.get(SHIPPING_RATE_DETAILS.priceInput)
|
.get(SHIPPING_RATE_DETAILS.priceInput)
|
||||||
|
|
|
@ -44,13 +44,13 @@ export function createCheckoutWithVoucher({
|
||||||
.its("body.data.checkoutAddPromoCode");
|
.its("body.data.checkoutAddPromoCode");
|
||||||
}
|
}
|
||||||
|
|
||||||
export function createReadyToFulfillOrder(
|
export function createReadyToFulfillOrder({
|
||||||
customerId,
|
customerId,
|
||||||
shippingMethodId,
|
shippingMethodId,
|
||||||
channelId,
|
channelId,
|
||||||
variantsList,
|
variantsList,
|
||||||
address
|
address
|
||||||
) {
|
}) {
|
||||||
let order;
|
let order;
|
||||||
return orderRequest
|
return orderRequest
|
||||||
.createDraftOrder(customerId, shippingMethodId, channelId, address)
|
.createDraftOrder(customerId, shippingMethodId, channelId, address)
|
||||||
|
@ -62,6 +62,31 @@ export function createReadyToFulfillOrder(
|
||||||
.then(() => orderRequest.completeOrder(order.id));
|
.then(() => orderRequest.completeOrder(order.id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function createFulfilledOrder({
|
||||||
|
customerId,
|
||||||
|
shippingMethodId,
|
||||||
|
channelId,
|
||||||
|
variantsList,
|
||||||
|
address,
|
||||||
|
warehouse,
|
||||||
|
quantity = 1
|
||||||
|
}) {
|
||||||
|
return createReadyToFulfillOrder({
|
||||||
|
customerId,
|
||||||
|
shippingMethodId,
|
||||||
|
channelId,
|
||||||
|
variantsList,
|
||||||
|
address
|
||||||
|
}).then(({ order }) => {
|
||||||
|
orderRequest.fulfillOrder({
|
||||||
|
orderId: order.id,
|
||||||
|
warehouse,
|
||||||
|
quantity,
|
||||||
|
linesId: order.lines
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
export function createOrder({
|
export function createOrder({
|
||||||
customerId,
|
customerId,
|
||||||
shippingMethodId,
|
shippingMethodId,
|
||||||
|
|
|
@ -90,6 +90,7 @@ const CardMenu: React.FC<CardMenuProps> = props => {
|
||||||
return (
|
return (
|
||||||
<div className={className} {...rest}>
|
<div className={className} {...rest}>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
data-test-id="showMoreButton"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
aria-owns={open ? "long-menu" : null}
|
aria-owns={open ? "long-menu" : null}
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
|
@ -125,6 +126,7 @@ const CardMenu: React.FC<CardMenuProps> = props => {
|
||||||
>
|
>
|
||||||
{menuItems.map((menuItem, menuItemIndex) => (
|
{menuItems.map((menuItem, menuItemIndex) => (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
|
data-test-id={menuItem.testId}
|
||||||
disabled={menuItem.disabled}
|
disabled={menuItem.disabled}
|
||||||
onClick={() => handleMenuClick(menuItemIndex)}
|
onClick={() => handleMenuClick(menuItemIndex)}
|
||||||
key={menuItem.label}
|
key={menuItem.label}
|
||||||
|
|
|
@ -223,7 +223,7 @@ const OrderDetailsPage: React.FC<OrderDetailsPageProps> = props => {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<Grid>
|
<Grid>
|
||||||
<div>
|
<div data-test-id="orderFulfillment">
|
||||||
{!isOrderUnconfirmed ? (
|
{!isOrderUnconfirmed ? (
|
||||||
<OrderUnfulfilledProductsCard
|
<OrderUnfulfilledProductsCard
|
||||||
canFulfill={canFulfill}
|
canFulfill={canFulfill}
|
||||||
|
|
|
@ -82,7 +82,8 @@ const OrderFulfilledProductsCard: React.FC<OrderFulfilledProductsCardProps> = pr
|
||||||
defaultMessage: "Cancel Fulfillment",
|
defaultMessage: "Cancel Fulfillment",
|
||||||
description: "button"
|
description: "button"
|
||||||
}),
|
}),
|
||||||
onSelect: onOrderFulfillmentCancel
|
onSelect: onOrderFulfillmentCancel,
|
||||||
|
testId: "cancelFulfillmentButton"
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -97,7 +97,10 @@ const OrderFulfillmentCancelDialog: React.FC<OrderFulfillmentCancelDialogProps>
|
||||||
<DialogContentText className={classes.paragraph}>
|
<DialogContentText className={classes.paragraph}>
|
||||||
<FormattedMessage defaultMessage="Are you sure you want to cancel fulfillment? Canceling a fulfillment will restock products at a selected warehouse." />
|
<FormattedMessage defaultMessage="Are you sure you want to cancel fulfillment? Canceling a fulfillment will restock products at a selected warehouse." />
|
||||||
</DialogContentText>
|
</DialogContentText>
|
||||||
<div className={classes.selectCcontainer}>
|
<div
|
||||||
|
className={classes.selectCcontainer}
|
||||||
|
data-test-id="cancelFulfillmentSelectField"
|
||||||
|
>
|
||||||
<SingleAutocompleteSelectField
|
<SingleAutocompleteSelectField
|
||||||
choices={choices}
|
choices={choices}
|
||||||
displayValue={displayValue}
|
displayValue={displayValue}
|
||||||
|
@ -126,6 +129,7 @@ const OrderFulfillmentCancelDialog: React.FC<OrderFulfillmentCancelDialogProps>
|
||||||
<FormattedMessage {...buttonMessages.back} />
|
<FormattedMessage {...buttonMessages.back} />
|
||||||
</Button>
|
</Button>
|
||||||
<ConfirmButton
|
<ConfirmButton
|
||||||
|
data-test="submit"
|
||||||
disabled={formData.warehouseId === null}
|
disabled={formData.warehouseId === null}
|
||||||
transitionState={confirmButtonState}
|
transitionState={confirmButtonState}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
|
|
@ -297,7 +297,12 @@ const OrderPayment: React.FC<OrderPaymentProps> = props => {
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
{canRefund && (
|
{canRefund && (
|
||||||
<Button color="primary" variant="text" onClick={onRefund}>
|
<Button
|
||||||
|
color="primary"
|
||||||
|
variant="text"
|
||||||
|
onClick={onRefund}
|
||||||
|
data-test-id="refund-button"
|
||||||
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="Refund"
|
defaultMessage="Refund"
|
||||||
description="button"
|
description="button"
|
||||||
|
|
|
@ -3669,6 +3669,7 @@ exports[`Storyshots Generics / Card menu default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -68308,6 +68309,7 @@ exports[`Storyshots Views / Customers / Address Book default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -68386,6 +68388,7 @@ exports[`Storyshots Views / Customers / Address Book default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -68516,6 +68519,7 @@ exports[`Storyshots Views / Customers / Address Book loading 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id MuiIconButton-disabled-id MuiButtonBase-disabled-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id MuiIconButton-disabled-id MuiButtonBase-disabled-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
disabled=""
|
disabled=""
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
type="button"
|
type="button"
|
||||||
|
@ -111313,6 +111317,7 @@ exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -111353,7 +111358,9 @@ exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -112997,6 +113004,7 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -113037,7 +113045,9 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -113231,6 +113241,7 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -113412,6 +113423,7 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -113757,6 +113769,7 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -114859,6 +114872,7 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -114899,7 +114913,9 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -115093,6 +115109,7 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -115274,6 +115291,7 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -115619,6 +115637,7 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -116702,6 +116721,7 @@ exports[`Storyshots Views / Orders / Order details loading 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -116738,7 +116758,9 @@ exports[`Storyshots Views / Orders / Order details loading 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -117314,6 +117336,7 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -117354,7 +117377,9 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -117548,6 +117573,7 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -117729,6 +117755,7 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -118074,6 +118101,7 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -119176,6 +119204,7 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -119216,7 +119245,9 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -119410,6 +119441,7 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -119591,6 +119623,7 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -119936,6 +119969,7 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -121038,6 +121072,7 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -121078,7 +121113,9 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -121272,6 +121309,7 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -121453,6 +121491,7 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -121798,6 +121837,7 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -122900,6 +122940,7 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -122940,7 +122981,9 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -123134,6 +123177,7 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -123315,6 +123359,7 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -123660,6 +123705,7 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -124762,6 +124808,7 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -124802,7 +124849,9 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -124996,6 +125045,7 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -125177,6 +125227,7 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -125522,6 +125573,7 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -126624,6 +126676,7 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -126664,7 +126717,9 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -126858,6 +126913,7 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -127039,6 +127095,7 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -127384,6 +127441,7 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -128486,6 +128544,7 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -128526,7 +128585,9 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -128720,6 +128781,7 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -128901,6 +128963,7 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -129246,6 +129309,7 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -130348,6 +130412,7 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -130388,7 +130453,9 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -130582,6 +130649,7 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -130763,6 +130831,7 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -131108,6 +131177,7 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -132210,6 +132280,7 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -132250,7 +132321,9 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -132444,6 +132517,7 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -132625,6 +132699,7 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -132970,6 +133045,7 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -134072,6 +134148,7 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -134112,7 +134189,9 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
||||||
<div
|
<div
|
||||||
class="Grid-root-id Grid-default-id"
|
class="Grid-root-id Grid-default-id"
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
data-test-id="orderFulfillment"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
class="MuiPaper-root-id MuiCard-root-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||||
>
|
>
|
||||||
|
@ -134306,6 +134385,7 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -134487,6 +134567,7 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -134832,6 +134913,7 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textPrimary-id"
|
||||||
|
data-test-id="refund-button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -135916,6 +135998,7 @@ exports[`Storyshots Views / Orders / Order draft default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -136610,6 +136693,7 @@ exports[`Storyshots Views / Orders / Order draft loading 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -136906,6 +136990,7 @@ exports[`Storyshots Views / Orders / Order draft no user permissions 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -137581,6 +137666,7 @@ exports[`Storyshots Views / Orders / Order draft without lines 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -137957,6 +138043,7 @@ exports[`Storyshots Views / Orders / Order list default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -139759,6 +139846,7 @@ exports[`Storyshots Views / Orders / Order list limits reached 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -141606,6 +141694,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -142065,6 +142154,7 @@ exports[`Storyshots Views / Orders / Order list no limits 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -143867,6 +143957,7 @@ exports[`Storyshots Views / Orders / Order list when no data 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -183980,6 +184071,7 @@ exports[`Storyshots Views / Products / Product edit form errors 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -185759,6 +185851,7 @@ exports[`Storyshots Views / Products / Product edit limits reached 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -187487,6 +187580,7 @@ exports[`Storyshots Views / Products / Product edit no limits 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -188963,6 +189057,7 @@ exports[`Storyshots Views / Products / Product edit no product attributes 1`] =
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -195679,6 +195774,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -198369,6 +198465,7 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -201881,6 +201978,7 @@ exports[`Storyshots Views / Products / Product edit with channels 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -203129,6 +203227,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -205895,6 +205994,7 @@ exports[`Storyshots Views / Products / Product list limits reached 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -208707,6 +208807,7 @@ exports[`Storyshots Views / Products / Product list loading 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -209274,6 +209375,7 @@ exports[`Storyshots Views / Products / Product list no channels 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -211580,6 +211682,7 @@ exports[`Storyshots Views / Products / Product list no data 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -211997,6 +212100,7 @@ exports[`Storyshots Views / Products / Product list no limits 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
@ -214763,6 +214867,7 @@ exports[`Storyshots Views / Products / Product list with data 1`] = `
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-label="More"
|
aria-label="More"
|
||||||
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
class="MuiButtonBase-root-id MuiIconButton-root-id CardMenu-iconButton-id MuiIconButton-colorPrimary-id"
|
||||||
|
data-test-id="showMoreButton"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue