Refactor/introduce container #918
e2e_api_tests.yml
on: pull_request
e2e_api tests
7m 54s
Annotations
10 errors, 2 warnings, and 1 notice
[api_tests] › setttingsGroup.spec.ts:33:9 › new settings api test › get single setting group:
tests/pw/tests/api/setttingsGroup.spec.ts#L35
1) [api_tests] › setttingsGroup.spec.ts:33:9 › new settings api test › get single setting group ──
Error: expect(received).toBeTruthy()
Received: false
33 | test('get single setting group', { tag: ['@lite', '@v2'] }, async () => {
34 | const [response, responseBody] = await apiUtils.get(endPoints.getSingleSettingGroup('store'));
> 35 | expect(response.ok()).toBeTruthy();
| ^
36 | expect(responseBody).toBeTruthy();
37 | expect(responseBody).toMatchSchema(schemas.settingsSchema.singleSettingGroupV2StoreSchema);
38 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:35:31
|
[api_tests] › setttingsGroup.spec.ts:33:9 › new settings api test › get single setting group:
tests/pw/tests/api/setttingsGroup.spec.ts#L35
1) [api_tests] › setttingsGroup.spec.ts:33:9 › new settings api test › get single setting group ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
33 | test('get single setting group', { tag: ['@lite', '@v2'] }, async () => {
34 | const [response, responseBody] = await apiUtils.get(endPoints.getSingleSettingGroup('store'));
> 35 | expect(response.ok()).toBeTruthy();
| ^
36 | expect(responseBody).toBeTruthy();
37 | expect(responseBody).toMatchSchema(schemas.settingsSchema.singleSettingGroupV2StoreSchema);
38 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:35:31
|
[api_tests] › setttingsGroup.spec.ts:40:9 › new settings api test › update single setting group:
tests/pw/tests/api/setttingsGroup.spec.ts#L42
2) [api_tests] › setttingsGroup.spec.ts:40:9 › new settings api test › update single setting group
Error: expect(received).toBeTruthy()
Received: false
40 | test('update single setting group', { tag: ['@lite', '@v2'] }, async () => {
41 | const [response, responseBody] = await apiUtils.post(endPoints.updateSingleSettingGroup('store'), { data: payloads.updateSettingsGroup });
> 42 | expect(response.ok()).toBeTruthy();
| ^
43 | expect(responseBody).toBeTruthy();
44 | expect(responseBody).toMatchSchema(schemas.settingsSchema.singleSettingGroupV2StoreSchema);
45 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:42:31
|
[api_tests] › setttingsGroup.spec.ts:40:9 › new settings api test › update single setting group:
tests/pw/tests/api/setttingsGroup.spec.ts#L42
2) [api_tests] › setttingsGroup.spec.ts:40:9 › new settings api test › update single setting group
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
40 | test('update single setting group', { tag: ['@lite', '@v2'] }, async () => {
41 | const [response, responseBody] = await apiUtils.post(endPoints.updateSingleSettingGroup('store'), { data: payloads.updateSettingsGroup });
> 42 | expect(response.ok()).toBeTruthy();
| ^
43 | expect(responseBody).toBeTruthy();
44 | expect(responseBody).toMatchSchema(schemas.settingsSchema.singleSettingGroupV2StoreSchema);
45 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:42:31
|
[api_tests] › setttingsGroup.spec.ts:47:9 › new settings api test › get sub settings from single settings group:
tests/pw/tests/api/setttingsGroup.spec.ts#L49
3) [api_tests] › setttingsGroup.spec.ts:47:9 › new settings api test › get sub settings from single settings group
Error: expect(received).toBeTruthy()
Received: false
47 | test('get sub settings from single settings group', { tag: ['@lite', '@v2'] }, async () => {
48 | const [response, responseBody] = await apiUtils.get(endPoints.getSubSettingFromSingleSettingGroup('store', 'store_name'));
> 49 | expect(response.ok()).toBeTruthy();
| ^
50 | expect(responseBody).toBeTruthy();
51 | expect(responseBody).toMatchSchema(schemas.settingsSchema.settingV2GroupSchema);
52 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:49:31
|
[api_tests] › setttingsGroup.spec.ts:47:9 › new settings api test › get sub settings from single settings group:
tests/pw/tests/api/setttingsGroup.spec.ts#L49
3) [api_tests] › setttingsGroup.spec.ts:47:9 › new settings api test › get sub settings from single settings group
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
47 | test('get sub settings from single settings group', { tag: ['@lite', '@v2'] }, async () => {
48 | const [response, responseBody] = await apiUtils.get(endPoints.getSubSettingFromSingleSettingGroup('store', 'store_name'));
> 49 | expect(response.ok()).toBeTruthy();
| ^
50 | expect(responseBody).toBeTruthy();
51 | expect(responseBody).toMatchSchema(schemas.settingsSchema.settingV2GroupSchema);
52 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:49:31
|
[api_tests] › setttingsGroup.spec.ts:54:9 › new settings api test › update sub settings from single settings group:
tests/pw/tests/api/setttingsGroup.spec.ts#L56
4) [api_tests] › setttingsGroup.spec.ts:54:9 › new settings api test › update sub settings from single settings group
Error: expect(received).toBeTruthy()
Received: false
54 | test('update sub settings from single settings group', { tag: ['@lite', '@v2'] }, async () => {
55 | const [response, responseBody] = await apiUtils.post(endPoints.updateSubSettingFromSingleSettingGroup('store', 'store_name'), { data: payloads.updateSubSettingFromSingleSettingGroup });
> 56 | expect(response.ok()).toBeTruthy();
| ^
57 | expect(responseBody).toBeTruthy();
58 | expect(responseBody).toMatchSchema(schemas.settingsSchema.settingV2GroupSchema);
59 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:56:31
|
[api_tests] › setttingsGroup.spec.ts:54:9 › new settings api test › update sub settings from single settings group:
tests/pw/tests/api/setttingsGroup.spec.ts#L56
4) [api_tests] › setttingsGroup.spec.ts:54:9 › new settings api test › update sub settings from single settings group
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
54 | test('update sub settings from single settings group', { tag: ['@lite', '@v2'] }, async () => {
55 | const [response, responseBody] = await apiUtils.post(endPoints.updateSubSettingFromSingleSettingGroup('store', 'store_name'), { data: payloads.updateSubSettingFromSingleSettingGroup });
> 56 | expect(response.ok()).toBeTruthy();
| ^
57 | expect(responseBody).toBeTruthy();
58 | expect(responseBody).toMatchSchema(schemas.settingsSchema.settingV2GroupSchema);
59 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:56:31
|
[api_tests] › setttingsGroup.spec.ts:61:9 › new settings api test › get sub sub settings from single settings group:
tests/pw/tests/api/setttingsGroup.spec.ts#L63
5) [api_tests] › setttingsGroup.spec.ts:61:9 › new settings api test › get sub sub settings from single settings group
Error: expect(received).toBeTruthy()
Received: false
61 | test('get sub sub settings from single settings group', { tag: ['@lite', '@v2'] }, async () => {
62 | const [response, responseBody] = await apiUtils.get(endPoints.getSubSubSettingFromSingleSettingGroup('store', 'address', 'street_1'));
> 63 | expect(response.ok()).toBeTruthy();
| ^
64 | expect(responseBody).toBeTruthy();
65 | expect(responseBody).toMatchSchema(schemas.settingsSchema.settingV2GroupSchema);
66 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:63:31
|
[api_tests] › setttingsGroup.spec.ts:61:9 › new settings api test › get sub sub settings from single settings group:
tests/pw/tests/api/setttingsGroup.spec.ts#L63
5) [api_tests] › setttingsGroup.spec.ts:61:9 › new settings api test › get sub sub settings from single settings group
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
61 | test('get sub sub settings from single settings group', { tag: ['@lite', '@v2'] }, async () => {
62 | const [response, responseBody] = await apiUtils.get(endPoints.getSubSubSettingFromSingleSettingGroup('store', 'address', 'street_1'));
> 63 | expect(response.ok()).toBeTruthy();
| ^
64 | expect(responseBody).toBeTruthy();
65 | expect(responseBody).toMatchSchema(schemas.settingsSchema.settingV2GroupSchema);
66 | });
at /home/runner/work/dokan/dokan/tests/pw/tests/api/setttingsGroup.spec.ts:63:31
|
🎭 Playwright Run Summary
6 failed
[api_tests] › setttingsGroup.spec.ts:33:9 › new settings api test › get single setting group ───
[api_tests] › setttingsGroup.spec.ts:40:9 › new settings api test › update single setting group
[api_tests] › setttingsGroup.spec.ts:47:9 › new settings api test › get sub settings from single settings group
[api_tests] › setttingsGroup.spec.ts:54:9 › new settings api test › update sub settings from single settings group
[api_tests] › setttingsGroup.spec.ts:61:9 › new settings api test › get sub sub settings from single settings group
[api_tests] › setttingsGroup.spec.ts:68:9 › new settings api test › update sub sub settings from single settings group
28 skipped
133 passed (57.5s)
|
Slow Test:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 18.1s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 10.2s
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
|
1.16 MB |
|