Skip to content

Fix decimal and thousand separator for category commission. #1396

Fix decimal and thousand separator for category commission.

Fix decimal and thousand separator for category commission. #1396

Triggered via pull request November 20, 2024 12:01
Status Failure
Total duration 15m 27s
Artifacts 1

e2e_api_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 2 warnings, and 1 notice
[api_tests] › calculation.spec.ts:397:9 › marketplace coupon calculation test › marketplace coupon: multiple coupon: tests/pw/utils/calculationHelpers.ts#L98
1) [api_tests] › calculation.spec.ts:397:9 › marketplace coupon calculation test › marketplace coupon: multiple coupon Error: Difference between expected 38.84 and received 38.82 value is more than the tolerance of 0.01 at ../../utils/calculationHelpers.ts:98 96 | expect(receivedShippingTax).toBeApproximately(calculatedShippingTax, 0.01, orderLog); 97 | expect(receivedTotalTax).toBeApproximately(calculatedTotalTax, 0.01, orderLog); > 98 | expect(receivedDiscountTotal).toBeApproximately(calculatedDiscount, 0.01, orderLog); | ^ 99 | expect(receivedDiscountTax).toBeApproximately(calculatedDiscountTax, 0.01, orderLog); 100 | } 101 | at assertData (/home/runner/work/dokan/dokan/tests/pw/utils/calculationHelpers.ts:98:35) at assertOrderCalculation (/home/runner/work/dokan/dokan/tests/pw/utils/calculationHelpers.ts:19:11) at /home/runner/work/dokan/dokan/tests/pw/tests/api/calculation.spec.ts:404:9
e2e_api tests
Process completed with exit code 1.
Slow Test: tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 17.8s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 10.3s
🎭 Playwright Run Summary
1 flaky [api_tests] › calculation.spec.ts:397:9 › marketplace coupon calculation test › marketplace coupon: multiple coupon 1 skipped 195 passed (3.0m)

Artifacts

Produced during runtime
Name Size
test-artifact
34.1 MB