Repository navigation
test(e2e): add tests for quiz retry, feedback, stats, and course leaderboard - #755
Merged
DeFiVC merged 3 commits intoOct 22, 2026
Annotations
22 errors, 2 warnings, and 2 notices
|
Upload coverage report
No files were found with the provided path: coverage/. No artifacts will be uploaded.
|
|
Run tests with coverage:
tests/e2e/avatar-upload.test.ts#L53
AssertionError: expected [ 400, 415, 500 ] to include 401
❯ tests/e2e/avatar-upload.test.ts:53:29
|
|
Run tests with coverage:
tests/e2e/admin-course-publish.test.ts#L52
error: invalid input syntax for type uuid: "p1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-publish.test.ts:52:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-publish.test.ts#L26
error: invalid input syntax for type uuid: "p1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-publish.test.ts:26:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-import.test.ts#L51
error: invalid input syntax for type uuid: "m1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-import.test.ts:51:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-import.test.ts#L26
error: invalid input syntax for type uuid: "m1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-import.test.ts:26:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-clone.test.ts#L53
error: invalid input syntax for type uuid: "k1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-clone.test.ts:53:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-clone.test.ts#L26
error: invalid input syntax for type uuid: "k1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-clone.test.ts:26:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-archive.test.ts#L310
AssertionError: expected 404 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 404
❯ tests/e2e/admin-course-archive.test.ts:310:40
|
|
Run tests with coverage:
tests/e2e/admin-course-archive.test.ts#L284
AssertionError: expected 404 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 404
❯ tests/e2e/admin-course-archive.test.ts:284:41
|
|
Run tests with coverage:
tests/e2e/admin-course-archive.test.ts#L251
AssertionError: expected undefined to be false // Object.is equality
- Expected:
false
+ Received:
undefined
❯ tests/e2e/admin-course-archive.test.ts:251:28
|
|
Upload coverage report
No files were found with the provided path: coverage/. No artifacts will be uploaded.
|
|
Run tests with coverage:
tests/e2e/avatar-upload.test.ts#L53
AssertionError: expected [ 400, 415, 500 ] to include 401
❯ tests/e2e/avatar-upload.test.ts:53:29
|
|
Run tests with coverage:
tests/e2e/admin-course-publish.test.ts#L52
error: invalid input syntax for type uuid: "p1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-publish.test.ts:52:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-publish.test.ts#L26
error: invalid input syntax for type uuid: "p1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-publish.test.ts:26:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-import.test.ts#L51
error: invalid input syntax for type uuid: "m1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-import.test.ts:51:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-import.test.ts#L26
error: invalid input syntax for type uuid: "m1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-import.test.ts:26:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-clone.test.ts#L53
error: invalid input syntax for type uuid: "k1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-clone.test.ts:53:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-clone.test.ts#L26
error: invalid input syntax for type uuid: "k1c2d3e4-1111-4ef8-bb6d-6bb9bd380c10"
❯ node_modules/pg-pool/index.js:45:11
❯ tests/e2e/admin-course-clone.test.ts:26:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 168, severity: 'ERROR', code: '22P02', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'unnamed portal parameter $1 = \'...\'', schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'uuid.c', routine: 'string_to_uuid' }
|
|
Run tests with coverage:
tests/e2e/admin-course-archive.test.ts#L310
AssertionError: expected 404 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 404
❯ tests/e2e/admin-course-archive.test.ts:310:40
|
|
Run tests with coverage:
tests/e2e/admin-course-archive.test.ts#L284
AssertionError: expected 404 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 404
❯ tests/e2e/admin-course-archive.test.ts:284:41
|
|
Run tests with coverage:
tests/e2e/admin-course-archive.test.ts#L251
AssertionError: expected undefined to be false // Object.is equality
- Expected:
false
+ Received:
undefined
❯ tests/e2e/admin-course-archive.test.ts:251:28
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
background
wait
wait-all
cancel
parallel
Loading