tests/add api json validation (#2047) #6
Annotations
19 errors, 4 warnings, and 2 notices
tests/pw/utils/dbUtils.ts#L23
1) [api_setup] › _env.setup.spec.ts:33:10 › setup test environment › set dokan general settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:34:23
|
tests/pw/utils/dbUtils.ts#L23
1) [api_setup] › _env.setup.spec.ts:33:10 › setup test environment › set dokan general settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:34:23
|
tests/pw/utils/dbUtils.ts#L23
2) [api_setup] › _env.setup.spec.ts:37:10 › setup test environment › admin set dokan selling settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:38:23
|
tests/pw/utils/dbUtils.ts#L23
2) [api_setup] › _env.setup.spec.ts:37:10 › setup test environment › admin set dokan selling settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:38:23
|
tests/pw/utils/dbUtils.ts#L23
3) [api_setup] › _env.setup.spec.ts:41:10 › setup test environment › admin set dokan withdraw settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:42:23
|
tests/pw/utils/dbUtils.ts#L23
3) [api_setup] › _env.setup.spec.ts:41:10 › setup test environment › admin set dokan withdraw settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:42:23
|
tests/pw/utils/dbUtils.ts#L23
4) [api_setup] › _env.setup.spec.ts:45:10 › setup test environment › admin set dokan reverse withdraw settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:46:23
|
tests/pw/utils/dbUtils.ts#L23
4) [api_setup] › _env.setup.spec.ts:45:10 › setup test environment › admin set dokan reverse withdraw settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/api/_env.setup.spec.ts:46:23
|
|
tests/pw/utils/dbUtils.ts#L23
1) [e2e_tests] › _environment.setup.spec.ts:175:10 › setup dokan settings › set dokan general settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:176:23
|
tests/pw/utils/dbUtils.ts#L23
1) [e2e_tests] › _environment.setup.spec.ts:175:10 › setup dokan settings › set dokan general settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:176:23
|
tests/pw/utils/dbUtils.ts#L23
2) [e2e_tests] › _environment.setup.spec.ts:179:10 › setup dokan settings › admin set dokan selling settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:180:23
|
tests/pw/utils/dbUtils.ts#L23
2) [e2e_tests] › _environment.setup.spec.ts:179:10 › setup dokan settings › admin set dokan selling settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:180:23
|
tests/pw/utils/dbUtils.ts#L23
3) [e2e_tests] › _environment.setup.spec.ts:183:10 › setup dokan settings › admin set dokan withdraw settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:184:23
|
tests/pw/utils/dbUtils.ts#L23
3) [e2e_tests] › _environment.setup.spec.ts:183:10 › setup dokan settings › admin set dokan withdraw settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:184:23
|
tests/pw/utils/dbUtils.ts#L23
4) [e2e_tests] › _environment.setup.spec.ts:187:10 › setup dokan settings › admin set dokan reverse withdraw settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:188:23
|
tests/pw/utils/dbUtils.ts#L23
4) [e2e_tests] › _environment.setup.spec.ts:187:10 › setup dokan settings › admin set dokan reverse withdraw settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.setDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:67:33)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:188:23
|
tests/pw/utils/dbUtils.ts#L23
5) [e2e_tests] › _environment.setup.spec.ts:191:10 › setup dokan settings › admin set dokan page settings @lite
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.getDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:58:35)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:193:44
|
tests/pw/utils/dbUtils.ts#L23
5) [e2e_tests] › _environment.setup.spec.ts:191:10 › setup dokan settings › admin set dokan page settings @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: connect ECONNREFUSED 127.0.0.1:32769
at ../../utils/dbUtils.ts:23
21 | async dbQuery(query: string): Promise<any> {
22 | const dbContext: DbContext = new DbContext(mySql);
> 23 | return await dbContext.inTransactionAsync(async dbContext => {
| ^
24 | try {
25 | const result = await dbContext.executeAsync(query);
26 | const res = JSON.parse(JSON.stringify(result));
at Protocol._enqueue (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:116:18)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:28:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:20:16)
at DbContext.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.ts:12:35)
at /home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:8:71
at __awaiter (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:4:12)
at DbContext.inTransactionAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connector.js:18:16)
at Object.dbQuery (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:23:32)
at Object.getDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:58:35)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_environment.setup.spec.ts:193:44
|
tests/pw/[api_setup] › _env.setup.spec.ts#L1
tests/pw/[api_setup] › _env.setup.spec.ts took 1.8s
|
tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 2.5m
|
tests/pw/[e2e_tests] › myOrders.spec.ts#L1
tests/pw/[e2e_tests] › myOrders.spec.ts took 49.1s
|
tests/pw/[e2e_tests] › _auth.setup.spec.ts#L1
tests/pw/[e2e_tests] › _auth.setup.spec.ts took 10.6s
|
4 failed
[api_setup] › _env.setup.spec.ts:33:10 › setup test environment › set dokan general settings @lite
[api_setup] › _env.setup.spec.ts:37:10 › setup test environment › admin set dokan selling settings @lite
[api_setup] › _env.setup.spec.ts:41:10 › setup test environment › admin set dokan withdraw settings @lite
[api_setup] › _env.setup.spec.ts:45:10 › setup test environment › admin set dokan reverse withdraw settings @lite
124 skipped
4 passed (17.3s)
|
15 failed
[e2e_tests] › _environment.setup.spec.ts:175:10 › setup dokan settings › set dokan general settings @lite
[e2e_tests] › _environment.setup.spec.ts:179:10 › setup dokan settings › admin set dokan selling settings @lite
[e2e_tests] › _environment.setup.spec.ts:183:10 › setup dokan settings › admin set dokan withdraw settings @lite
[e2e_tests] › _environment.setup.spec.ts:187:10 › setup dokan settings › admin set dokan reverse withdraw settings @lite
[e2e_tests] › _environment.setup.spec.ts:191:10 › setup dokan settings › admin set dokan page settings @lite
[e2e_tests] › _environment.setup.spec.ts:198:10 › setup dokan settings › admin set dokan appearance settings @lite
[e2e_tests] › _environment.setup.spec.ts:202:10 › setup dokan settings › admin set dokan privacy policy settings @lite
[e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can add shipping details @lite
[e2e_tests] › customer.spec.ts:70:9 › Customer functionality test › customer can add customer details @lite
[e2e_tests] › customer.spec.ts:74:9 › Customer functionality test › customer can add product to cart @lite
[e2e_tests] › customer.spec.ts:80:9 › Customer functionality test › customer can buy product @lite
[e2e_tests] › customer.spec.ts:85:9 › Customer functionality test › customer can buy multi vendor products @lite
[e2e_tests] › myOrders.spec.ts:29:9 › My orders functionality test › customer can view order details @lite
[e2e_tests] › myOrders.spec.ts:34:9 › My orders functionality test › customer can view order note @lite
109 skipped
35 passed (4.7m)
|
The logs for this run have expired and are no longer available.
Loading