removed updateTaxConfigurationForChannel from both test since not needed (#3904)

This commit is contained in:
wojteknowacki 2023-07-13 10:23:50 +02:00 committed by GitHub
parent fcd64f65eb
commit 51c949cd6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View file

@ -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 => {

View file

@ -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,