diff --git a/.changeset/tricky-parrots-fetch.md b/.changeset/tricky-parrots-fetch.md new file mode 100644 index 00000000000..4903c321ddc --- /dev/null +++ b/.changeset/tricky-parrots-fetch.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": minor +--- + +Replace tax app in tests diff --git a/playwright/pages/taxesPage.ts b/playwright/pages/taxesPage.ts index 67da8705be6..701e83f8be5 100644 --- a/playwright/pages/taxesPage.ts +++ b/playwright/pages/taxesPage.ts @@ -118,7 +118,7 @@ export class TaxesPage extends BasePage { await this.createClassButton.click(); } - async selectTaxCalculationMethod(method: "FLAT_RATES" | "saleor.app.avatax") { + async selectTaxCalculationMethod(method: "FLAT_RATES" | "saleor.app.dummy.tax") { await this.clickSelectMethodField(); await this.page.getByTestId(`select-field-option-${method}`).click(); } diff --git a/playwright/tests/taxes.spec.ts b/playwright/tests/taxes.spec.ts index d9869da4359..231e076b8fa 100644 --- a/playwright/tests/taxes.spec.ts +++ b/playwright/tests/taxes.spec.ts @@ -16,7 +16,7 @@ test("TC: SALEOR_115 Change taxes in channel to use tax app @taxes @e2e", async await configurationPage.gotoConfigurationView(); await configurationPage.openTaxes(); await taxesPage.selectChannel(CHANNELS.channelForTaxEdition.name); - await taxesPage.selectTaxCalculationMethod("saleor.app.avatax"); + await taxesPage.selectTaxCalculationMethod("saleor.app.dummy.tax"); await taxesPage.clickSaveButton(); await taxesPage.expectSuccessBanner(); });