refactor of POC done! #36
build-test-publish.yml
on: push
Matrix: playwright-tests
build-and-push
1m 39s
fe-unit-tests
1m 9s
be-unit-tests
58s
integration-tests
1m 3s
lint
25s
publish-latest-image
0s
Annotations
15 errors and 6 warnings
tests/controllers/appsController.test.ts > appsController > renders view with app config:
app/server/tests/controllers/appsController.test.ts#L77
AssertionError: expected { appName: 'test', …(12) } to strictly equal { appName: 'test', …(13) }
- Expected
+ Received
Object {
"appName": "test",
"appTitle": "testTitle",
"appType": "testType",
"appsPath": "testapps",
"baseUrl": "http://localhost:3000",
"courseTitle": "Test Course Title",
"defaultLanguage": "en",
"enableI18n": false,
"hotReload": undefined,
"loadSessionId": "1234",
- "mathjaxSrc": "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js",
"shareNotFound": "",
"title": "testTitle - Test Course Title",
"wodinVersion": "1.2.3",
}
❯ tests/controllers/appsController.test.ts:77:45
|
tests/controllers/appsController.test.ts > appsController > sets loadSessionId to be empty when not in query string:
app/server/tests/controllers/appsController.test.ts#L100
AssertionError: expected { appName: 'test', …(12) } to strictly equal { appName: 'test', …(13) }
- Expected
+ Received
Object {
"appName": "test",
"appTitle": "testTitle",
"appType": "testType",
"appsPath": "testapps",
"baseUrl": "http://localhost:3000",
"courseTitle": "Test Course Title",
"defaultLanguage": "en",
"enableI18n": false,
"hotReload": undefined,
"loadSessionId": "",
- "mathjaxSrc": "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js",
"shareNotFound": "",
"title": "testTitle - Test Course Title",
"wodinVersion": "1.2.3",
}
❯ tests/controllers/appsController.test.ts:100:45
|
tests/controllers/appsController.test.ts > appsController > gets session id from share parameter when provided:
app/server/tests/controllers/appsController.test.ts#L127
AssertionError: expected { appName: 'test', …(12) } to strictly equal { appName: 'test', …(13) }
- Expected
+ Received
Object {
"appName": "test",
"appTitle": "testTitle",
"appType": "testType",
"appsPath": "testapps",
"baseUrl": "http://localhost:3000",
"courseTitle": "Test Course Title",
"defaultLanguage": "en",
"enableI18n": false,
"hotReload": undefined,
"loadSessionId": "123456",
- "mathjaxSrc": "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js",
"shareNotFound": "",
"title": "testTitle - Test Course Title",
"wodinVersion": "1.2.3",
}
❯ tests/controllers/appsController.test.ts:127:45
|
tests/controllers/appsController.test.ts > appsController > sets shareNotFound value when share parameter does not exist in db:
app/server/tests/controllers/appsController.test.ts#L152
AssertionError: expected { appName: 'test', …(12) } to strictly equal { appName: 'test', …(13) }
- Expected
+ Received
Object {
"appName": "test",
"appTitle": "testTitle",
"appType": "testType",
"appsPath": "testapps",
"baseUrl": "http://localhost:3000",
"courseTitle": "Test Course Title",
"defaultLanguage": "en",
"enableI18n": false,
"hotReload": undefined,
"loadSessionId": "",
- "mathjaxSrc": "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js",
"shareNotFound": "tiny-mouse",
"title": "testTitle - Test Course Title",
"wodinVersion": "1.2.3",
}
❯ tests/controllers/appsController.test.ts:152:45
|
be-unit-tests
Process completed with exit code 1.
|
playwright-tests (3)
Process completed with exit code 1.
|
playwright-tests (5)
The job was canceled because "_3" failed.
|
playwright-tests (2)
The job was canceled because "_3" failed.
|
playwright-tests (2)
The operation was canceled.
|
playwright-tests (4)
The job was canceled because "_3" failed.
|
playwright-tests (4)
The operation was canceled.
|
playwright-tests (1)
The job was canceled because "_3" failed.
|
playwright-tests (1)
The operation was canceled.
|
playwright-tests (6)
The job was canceled because "_3" failed.
|
playwright-tests (6)
The operation was canceled.
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
be-unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
integration-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
fe-unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-and-push
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
playwright-tests (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|