removed updateTaxConfigurationForChannel from both test since not needed (#3904)
This commit is contained in:
parent
fcd64f65eb
commit
51c949cd6f
2 changed files with 0 additions and 8 deletions
|
@ -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 => {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue