Skip to content

Commit

Permalink
removed updateTaxConfigurationForChannel from both test since not nee…
Browse files Browse the repository at this point in the history
…ded (#3904)
  • Loading branch information
wojteknowacki authored and poulch committed Jul 18, 2023
1 parent c51c0ed commit 467840d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions cypress/e2e/orders/transactionsForOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
createShipping,
getDefaultTaxClass,
productsUtils,
updateTaxConfigurationForChannel,
} from "../../support/api/utils";
import { transactionsOrderUtils } from "../../support/pages/";

Expand Down Expand Up @@ -44,7 +43,6 @@ describe("Orders", () => {
channelId: channel.id,
markAsPaidStrategy: "TRANSACTION_FLOW",
});
updateTaxConfigurationForChannel({ channelSlug: channel.slug });
getDefaultTaxClass();
})
.then(resp => {
Expand Down
6 changes: 0 additions & 6 deletions cypress/e2e/products/productsVariants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 => {
Expand All @@ -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,
Expand Down

0 comments on commit 467840d

Please sign in to comment.