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, createShipping,
getDefaultTaxClass, getDefaultTaxClass,
productsUtils, productsUtils,
updateTaxConfigurationForChannel,
} from "../../support/api/utils"; } from "../../support/api/utils";
import { transactionsOrderUtils } from "../../support/pages/"; import { transactionsOrderUtils } from "../../support/pages/";
@ -44,7 +43,6 @@ describe("Orders", () => {
channelId: channel.id, channelId: channel.id,
markAsPaidStrategy: "TRANSACTION_FLOW", markAsPaidStrategy: "TRANSACTION_FLOW",
}); });
updateTaxConfigurationForChannel({ channelSlug: channel.slug });
getDefaultTaxClass(); getDefaultTaxClass();
}) })
.then(resp => { .then(resp => {

View file

@ -13,7 +13,6 @@ import {
} from "../../support/api/requests/Product"; } from "../../support/api/requests/Product";
import * as productUtils from "../../support/api/utils/products/productsUtils"; import * as productUtils from "../../support/api/utils/products/productsUtils";
import { getProductVariants } from "../../support/api/utils/storeFront/storeFrontProductUtils"; import { getProductVariants } from "../../support/api/utils/storeFront/storeFrontProductUtils";
import { updateTaxConfigurationForChannel } from "../../support/api/utils/taxesUtils";
import { import {
addVariantToDataGrid, addVariantToDataGrid,
enterVariantEditPage, enterVariantEditPage,
@ -39,7 +38,6 @@ describe("As an admin I should be able to create variant", () => {
cy.clearSessionData().loginUserViaRequest(); cy.clearSessionData().loginUserViaRequest();
updateTaxConfigurationForChannel({ pricesEnteredWithTax: true });
productUtils productUtils
.createShippingProductTypeAttributeAndCategory(name, attributeValues) .createShippingProductTypeAttributeAndCategory(name, attributeValues)
.then(resp => { .then(resp => {
@ -53,10 +51,6 @@ describe("As an admin I should be able to create variant", () => {
}) })
.then(resp => { .then(resp => {
newChannel = resp; newChannel = resp;
updateTaxConfigurationForChannel({
channelSlug: newChannel.slug,
pricesEnteredWithTax: true,
});
}); });
cy.checkIfDataAreNotNull({ cy.checkIfDataAreNotNull({
defaultChannel, defaultChannel,