Skip to content

Commit

Permalink
TC numbers update
Browse files Browse the repository at this point in the history
  • Loading branch information
wojteknowacki committed Dec 29, 2023
1 parent 69a678f commit fec79ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions playwright/tests/discountAndVouchers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test.beforeEach(({ page }) => {
vouchersPage = new VouchersPage(page);
});

test("TC: SALEOR_85 Create voucher with auto-generated codes and fixed amount discount @vouchers @e2e", async () => {
test("TC: SALEOR_40 Create voucher with auto-generated codes and fixed amount discount @vouchers @e2e", async () => {
const codesQuantity = 5;
const codesPrefix = "auto";

Expand Down Expand Up @@ -48,8 +48,8 @@ test("TC: SALEOR_85 Create voucher with auto-generated codes and fixed amount di
).toEqual(codesQuantity);
});

test("TC: SALEOR_86 Create voucher with manual code and percentage discount @vouchers @e2e", async () => {
const code = `code-TC: SALEOR_86 ${new Date().toISOString()}`;
test("TC: SALEOR_85 Create voucher with manual code and percentage discount @vouchers @e2e", async () => {
const code = `code-TC: SALEOR_85 ${new Date().toISOString()}`;

await vouchersPage.gotoVoucherAddPage();
await vouchersPage.typeVoucherName();
Expand Down Expand Up @@ -82,7 +82,7 @@ test("TC: SALEOR_86 Create voucher with manual code and percentage discount @vou
).toEqual(1);
});

test("TC: SALEOR_87 Edit voucher to have free shipping discount @vouchers @e2e", async () => {
test("TC: SALEOR_86 Edit voucher to have free shipping discount @vouchers @e2e", async () => {
await vouchersPage.gotoExistingVoucherPage(
VOUCHERS_AND_DISCOUNTS.vouchers.voucherToBeEditedWithFreeShipping.id,
);
Expand All @@ -107,7 +107,7 @@ test("TC: SALEOR_87 Edit voucher to have free shipping discount @vouchers @e2e",
`Same amount of codes should have status Active displayed on grid after switching to free shipping`,
).toEqual(codesRowsAfterSave);
});
test("TC: SALEOR_88 Edit voucher Usage limit: used in total, per customer, staff only, code used once @vouchers @e2e", async () => {
test("TC: SALEOR_87 Edit voucher Usage Limits: used in total, per customer, staff only, code used once @vouchers @e2e", async () => {
await vouchersPage.gotoExistingVoucherPage(
VOUCHERS_AND_DISCOUNTS.vouchers.voucherToBeEditedUsageLimits.id,
);
Expand Down

0 comments on commit fec79ee

Please sign in to comment.