From 51c949cd6ff1d8e0ae8100b21568deeaaff72290 Mon Sep 17 00:00:00 2001 From: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Date: Thu, 13 Jul 2023 10:23:50 +0200 Subject: [PATCH] removed updateTaxConfigurationForChannel from both test since not needed (#3904) --- cypress/e2e/orders/transactionsForOrders.js | 2 -- cypress/e2e/products/productsVariants.js | 6 ------ 2 files changed, 8 deletions(-) diff --git a/cypress/e2e/orders/transactionsForOrders.js b/cypress/e2e/orders/transactionsForOrders.js index fd5a773b8..abee0a440 100644 --- a/cypress/e2e/orders/transactionsForOrders.js +++ b/cypress/e2e/orders/transactionsForOrders.js @@ -16,7 +16,6 @@ import { createShipping, getDefaultTaxClass, productsUtils, - updateTaxConfigurationForChannel, } from "../../support/api/utils"; import { transactionsOrderUtils } from "../../support/pages/"; @@ -44,7 +43,6 @@ describe("Orders", () => { channelId: channel.id, markAsPaidStrategy: "TRANSACTION_FLOW", }); - updateTaxConfigurationForChannel({ channelSlug: channel.slug }); getDefaultTaxClass(); }) .then(resp => { diff --git a/cypress/e2e/products/productsVariants.js b/cypress/e2e/products/productsVariants.js index 266f7cdb7..2d2c7ad95 100644 --- a/cypress/e2e/products/productsVariants.js +++ b/cypress/e2e/products/productsVariants.js @@ -13,7 +13,6 @@ import { } from "../../support/api/requests/Product"; import * as productUtils from "../../support/api/utils/products/productsUtils"; import { getProductVariants } from "../../support/api/utils/storeFront/storeFrontProductUtils"; -import { updateTaxConfigurationForChannel } from "../../support/api/utils/taxesUtils"; import { addVariantToDataGrid, enterVariantEditPage, @@ -39,7 +38,6 @@ describe("As an admin I should be able to create variant", () => { cy.clearSessionData().loginUserViaRequest(); - updateTaxConfigurationForChannel({ pricesEnteredWithTax: true }); productUtils .createShippingProductTypeAttributeAndCategory(name, attributeValues) .then(resp => { @@ -53,10 +51,6 @@ describe("As an admin I should be able to create variant", () => { }) .then(resp => { newChannel = resp; - updateTaxConfigurationForChannel({ - channelSlug: newChannel.slug, - pricesEnteredWithTax: true, - }); }); cy.checkIfDataAreNotNull({ defaultChannel,