π fix(Helper.php): skip promo notices if pro license is active to preβ¦ #46
Annotations
3 errors, 6 warnings, and 2 notices
[api_tests] βΊ admins.spec.ts:73:9 βΊ admin api test βΊ get admin promo notices @lite:
tests/pw/tests/api/admins.spec.ts#L76
1) [api_tests] βΊ admins.spec.ts:73:9 βΊ admin api test βΊ get admin promo notices @lite ββββββββββββ
Error: expect(received).toBeTruthy()
Received: undefined
74 | const [response, responseBody] = await apiUtils.get(endPoints.getAdminPromoNotices);
75 | expect(response.ok()).toBeTruthy();
> 76 | expect(responseBody).toBeTruthy();
| ^
77 | expect(responseBody).toMatchSchema(schemas.admin.adminPromoNoticeSchema);
78 | });
79 |
at /home/runner/work/dokan/dokan/tests/pw/tests/api/admins.spec.ts:76:30
|
[api_tests] βΊ admins.spec.ts:73:9 βΊ admin api test βΊ get admin promo notices @lite:
tests/pw/tests/api/admins.spec.ts#L76
1) [api_tests] βΊ admins.spec.ts:73:9 βΊ admin api test βΊ get admin promo notices @lite ββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBeTruthy()
Received: undefined
74 | const [response, responseBody] = await apiUtils.get(endPoints.getAdminPromoNotices);
75 | expect(response.ok()).toBeTruthy();
> 76 | expect(responseBody).toBeTruthy();
| ^
77 | expect(responseBody).toMatchSchema(schemas.admin.adminPromoNoticeSchema);
78 | });
79 |
at /home/runner/work/dokan/dokan/tests/pw/tests/api/admins.spec.ts:76:30
|
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 6.5s
|
Slow Test:
tests/pw/[api_tests] βΊ stores.spec.ts#L1
tests/pw/[api_tests] βΊ stores.spec.ts took 3.4s
|
Slow Test:
tests/pw/[api_tests] βΊ orders.spec.ts#L1
tests/pw/[api_tests] βΊ orders.spec.ts took 3.3s
|
Slow Test:
tests/pw/[e2e_tests] βΊ products.spec.ts#L1
tests/pw/[e2e_tests] βΊ products.spec.ts took 35.5s
|
Slow Test:
tests/pw/[e2e_tests] βΊ customer.spec.ts#L1
tests/pw/[e2e_tests] βΊ customer.spec.ts took 23.7s
|
Slow Test:
tests/pw/[e2e_tests] βΊ orders.spec.ts#L1
tests/pw/[e2e_tests] βΊ orders.spec.ts took 21.4s
|
π Playwright Run Summary
1 failed
[api_tests] βΊ admins.spec.ts:73:9 βΊ admin api test βΊ get admin promo notices @lite βββββββββββββ
2 skipped
131 passed (21.1s)
|
π Playwright Run Summary
1 skipped
158 passed (3.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
965 KB |
|