updated suite #43
Annotations
19 errors, 4 warnings, and 2 notices
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
1) [api_setup] βΊ _env.setup.ts:60:10 βΊ setup test environment βΊ set dokan general settings @lite β
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:61:23
|
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
1) [api_setup] βΊ _env.setup.ts:60:10 βΊ setup test environment βΊ set dokan general settings @lite β
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:61:23
|
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
2) [api_setup] βΊ _env.setup.ts:64:10 βΊ setup test environment βΊ admin set dokan selling settings @lite
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:65:23
|
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
2) [api_setup] βΊ _env.setup.ts:64:10 βΊ setup test environment βΊ admin set dokan selling settings @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:65:23
|
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
3) [api_setup] βΊ _env.setup.ts:68:10 βΊ setup test environment βΊ admin set dokan withdraw settings @lite
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:69:23
|
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
3) [api_setup] βΊ _env.setup.ts:68:10 βΊ setup test environment βΊ admin set dokan withdraw settings @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:69:23
|
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
4) [api_setup] βΊ _env.setup.ts:72:10 βΊ setup test environment βΊ admin set dokan reverse withdraw settings @lite
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:73:23
|
π§ͺ Running the api tests:
tests/pw/utils/dbUtils.ts#L23
4) [api_setup] βΊ _env.setup.ts:72:10 βΊ setup test environment βΊ admin set dokan reverse withdraw settings @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.ts:73:23
|
π§ͺ Running the api tests
Process completed with exit code 1.
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
1) [e2e_setup] βΊ _env.setup.ts:107:10 βΊ setup site & woocommerce & user settings βΊ disable simple-auction ajax bid check @Pro
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.updateWpOptionTable (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:50:35)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_env.setup.ts:110:47
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
1) [e2e_setup] βΊ _env.setup.ts:107:10 βΊ setup site & woocommerce & user settings βΊ disable simple-auction ajax bid check @Pro
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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.updateWpOptionTable (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:50:35)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_env.setup.ts:110:47
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
2) [e2e_setup] βΊ _env.setup.ts:181:10 βΊ setup dokan settings βΊ set dokan general settings @lite ββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:182:23
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
2) [e2e_setup] βΊ _env.setup.ts:181:10 βΊ setup dokan settings βΊ set dokan general settings @lite ββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:182:23
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
3) [e2e_setup] βΊ _env.setup.ts:185:10 βΊ setup dokan settings βΊ admin set dokan selling settings @lite
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:186:23
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
3) [e2e_setup] βΊ _env.setup.ts:185:10 βΊ setup dokan settings βΊ admin set dokan selling settings @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:186:23
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
4) [e2e_setup] βΊ _env.setup.ts:189:10 βΊ setup dokan settings βΊ admin set dokan withdraw settings @lite
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:190:23
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
4) [e2e_setup] βΊ _env.setup.ts:189:10 βΊ setup dokan settings βΊ admin set dokan withdraw settings @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:190:23
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
5) [e2e_setup] βΊ _env.setup.ts:193:10 βΊ setup dokan settings βΊ admin set dokan reverse withdraw settings @lite
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:194:23
|
π§ͺ Running the e2e tests:
tests/pw/utils/dbUtils.ts#L23
5) [e2e_setup] βΊ _env.setup.ts:193:10 βΊ setup dokan settings βΊ admin set dokan reverse withdraw settings @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: ER_BAD_DB_ERROR: Unknown database 'tests-wordpress'
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 Handshake.Sequence._packetToError (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:88:28)
at Socket.<anonymous> (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysql/lib/Connection.js:526:10)
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:31:23
at MySqlConnection.connectAsync (/home/runner/work/dokan/dokan/tests/pw/node_modules/mysqlconnector/src/connection/connection.ts:22: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/_env.setup.ts:194:23
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
π§ͺ Running the api tests:
tests/pw/[api_setup] βΊ _env.setup.ts#L1
tests/pw/[api_setup] βΊ _env.setup.ts took 7.8s
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_setup] βΊ _env.setup.ts#L1
tests/pw/[e2e_setup] βΊ _env.setup.ts took 30.0s
|
π§ͺ Running the e2e tests:
tests/pw/[auth_setup] βΊ _auth.setup.ts#L1
tests/pw/[auth_setup] βΊ _auth.setup.ts took 26.3s
|
π§ͺ Running the api tests
4 failed
[api_setup] βΊ _env.setup.ts:60:10 βΊ setup test environment βΊ set dokan general settings @lite ββ
[api_setup] βΊ _env.setup.ts:64:10 βΊ setup test environment βΊ admin set dokan selling settings @lite
[api_setup] βΊ _env.setup.ts:68:10 βΊ setup test environment βΊ admin set dokan withdraw settings @lite
[api_setup] βΊ _env.setup.ts:72:10 βΊ setup test environment βΊ admin set dokan reverse withdraw settings @lite
1 skipped
278 did not run
5 passed (24.5s)
|
π§ͺ Running the e2e tests
20 failed
[e2e_setup] βΊ _env.setup.ts:107:10 βΊ setup site & woocommerce & user settings βΊ disable simple-auction ajax bid check @Pro
[e2e_setup] βΊ _env.setup.ts:181:10 βΊ setup dokan settings βΊ set dokan general settings @lite βββ
[e2e_setup] βΊ _env.setup.ts:185:10 βΊ setup dokan settings βΊ admin set dokan selling settings @lite
[e2e_setup] βΊ _env.setup.ts:189:10 βΊ setup dokan settings βΊ admin set dokan withdraw settings @lite
[e2e_setup] βΊ _env.setup.ts:193:10 βΊ setup dokan settings βΊ admin set dokan reverse withdraw settings @lite
[e2e_setup] βΊ _env.setup.ts:197:10 βΊ setup dokan settings βΊ admin set dokan page settings @lite
[e2e_setup] βΊ _env.setup.ts:204:10 βΊ setup dokan settings βΊ admin set dokan appearance settings @lite
[e2e_setup] βΊ _env.setup.ts:208:10 βΊ setup dokan settings βΊ admin set dokan privacy policy settings @lite
[e2e_setup] βΊ _env.setup.ts:214:10 βΊ setup dokan settings βΊ admin set dokan color settings @Pro
[e2e_setup] βΊ _env.setup.ts:219:10 βΊ setup dokan settings βΊ admin set dokan store support settings @Pro
[e2e_setup] βΊ _env.setup.ts:224:10 βΊ setup dokan settings βΊ admin set dokan shipping status settings @Pro
[e2e_setup] βΊ _env.setup.ts:229:10 βΊ setup dokan settings βΊ admin set dokan quote settings @Pro
[e2e_setup] βΊ _env.setup.ts:234:10 βΊ setup dokan settings βΊ admin set dokan rma settings @Pro ββ
[e2e_setup] βΊ _env.setup.ts:239:10 βΊ setup dokan settings βΊ admin set dokan wholesale settings @Pro
[e2e_setup] βΊ _env.setup.ts:244:10 βΊ setup dokan settings βΊ admin set dokan eu compliance settings @Pro
[e2e_setup] βΊ _env.setup.ts:249:10 βΊ setup dokan settings βΊ admin set dokan delivery time settings @Pro
[e2e_setup] βΊ _env.setup.ts:254:10 βΊ setup dokan settings βΊ admin set dokan product advertising settings @Pro
[e2e_setup] βΊ _env.setup.ts:259:10 βΊ setup dokan settings βΊ admin set dokan geolocation settings @Pro
[e2e_setup] βΊ _env.setup.ts:264:10 βΊ setup dokan settings βΊ admin set dokan product report abuse settings @Pro
[e2e_setup] βΊ _env.setup.ts:269:10 βΊ setup dokan settings βΊ admin set dokan spmv settings @Pro β
4 skipped
585 did not run
20 passed (2.1m)
|
The logs for this run have expired and are no longer available.
Loading