E2E_API Tests #1440
Annotations
4 errors, 2 warnings, and 1 notice
[api_tests] › calculation.spec.ts:584:9 › product owner calculation test › product owner: multivendor:
tests/pw/utils/dbUtils.ts#L25
1) [api_tests] › calculation.spec.ts:584:9 › product owner calculation test › product owner: multivendor
Error: Table 'tests-wordpress.wp_wc_orders' doesn't exist
at ../../utils/dbUtils.ts:25
23 | try {
24 | connection = await pool.getConnection();
> 25 | const [result] = await connection.execute(query, params);
| ^
26 | // console.log(result);
27 | return result;
28 | } catch (err) {
at PromisePoolConnection.execute (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql2/promise.js:112:22)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:25:47)
at Object.getChildOrderIds (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:203:21)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/calculation.spec.ts:592:31
|
[api_tests] › calculation.spec.ts:584:9 › product owner calculation test › product owner: multivendor:
tests/pw/utils/dbUtils.ts#L25
1) [api_tests] › calculation.spec.ts:584:9 › product owner calculation test › product owner: multivendor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Table 'tests-wordpress.wp_wc_orders' doesn't exist
at ../../utils/dbUtils.ts:25
23 | try {
24 | connection = await pool.getConnection();
> 25 | const [result] = await connection.execute(query, params);
| ^
26 | // console.log(result);
27 | return result;
28 | } catch (err) {
at PromisePoolConnection.execute (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql2/promise.js:112:22)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:25:47)
at Object.getChildOrderIds (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:203:21)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/calculation.spec.ts:592:31
|
e2e_api tests
Process completed with exit code 1.
|
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 18.3s
|
Slow Test:
tests/pw/[site_setup] › _site.setup.ts#L1
tests/pw/[site_setup] › _site.setup.ts took 11.2s
|
🎭 Playwright Run Summary
1 failed
[api_tests] › calculation.spec.ts:584:9 › product owner calculation test › product owner: multivendor
1 skipped
195 passed (3.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
|
622 KB |
|