diff --git a/.changeset/rude-guests-draw.md b/.changeset/rude-guests-draw.md new file mode 100644 index 00000000000..dd0b3bc2b17 --- /dev/null +++ b/.changeset/rude-guests-draw.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +You can run order e2e tests with updated test data diff --git a/package-lock.json b/package-lock.json index f327543a0ec..97406d23a45 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "saleor-dashboard", - "version": "3.20.0-a.0", + "version": "3.20.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "saleor-dashboard", - "version": "3.20.0-a.0", + "version": "3.20.3", "license": "BSD-3-Clause", "dependencies": { "@apollo/client": "3.4.17", diff --git a/playwright/data/e2eTestData.ts b/playwright/data/e2eTestData.ts index b879723fb32..542426ce5bb 100644 --- a/playwright/data/e2eTestData.ts +++ b/playwright/data/e2eTestData.ts @@ -405,7 +405,7 @@ export const PRODUCTS = { ], }, productWithPriceHigherThan20: { - id: "HJvZHVjdDo2NA==", + id: "UHJvZHVjdDoxMjE=", name: "Ocean Poems", variantSKU: "ocean-poems-mp3", price: 22, @@ -419,7 +419,7 @@ export const PRODUCTS = { name: "Power Juice", }, productWithDiscountChannelPLN: { - id: "UHJvZHVjdDo3NzA=", + id: "UHJvZHVjdDo3NzE=", name: "e2e-do-not-touch", rewardPercentageDiscountValue: 40, variant: { @@ -436,7 +436,7 @@ export const ORDERS = { ids: ["#3266", "#3265"], }, draftOrderChannelPLN: { - id: "T3JkZXI6Zjg0NTk3N2EtM2Y3Yy00NDY3LWI3N2MtZDY0ZjhhMDU2MmQy", + id: "T3JkZXI6ZGZjMDRjOTEtNDYyNy00Y2FhLWE5MzAtYTA5ZTE1MTlkODI1", productInBasket: { productName: "Black Hoodie", price: 20, diff --git a/playwright/tests/orders.spec.ts b/playwright/tests/orders.spec.ts index 832ec98a547..6cfe5024fd3 100644 --- a/playwright/tests/orders.spec.ts +++ b/playwright/tests/orders.spec.ts @@ -335,7 +335,7 @@ for (const refund of orderRefunds) { await expect(ordersPage.orderRefundList).not.toContainText(refund.status); }); } -test(`TC: SALEOR_215 Inline discount is applied in a draft order @draft @discounts @e2e`, async page => { +test(`TC: SALEOR_215 Inline discount is applied in a draft order @draft @discounts @e2e`, async () => { test.slow(); const discountedProduct = PRODUCTS.productWithDiscountChannelPLN; diff --git a/src/graphql/typePolicies.generated.ts b/src/graphql/typePolicies.generated.ts index 69b0bbe3144..d8afa2e6289 100644 --- a/src/graphql/typePolicies.generated.ts +++ b/src/graphql/typePolicies.generated.ts @@ -10252,4 +10252,4 @@ export type StrictTypedTypePolicies = { fields?: _ServiceFieldPolicy, } }; -export type TypedTypePolicies = StrictTypedTypePolicies & TypePolicies; \ No newline at end of file +export type TypedTypePolicies = StrictTypedTypePolicies & TypePolicies;