DSEGOG-362 add a user #3041
ci-build.yml
on: pull_request
Lint & Unit Tests
5m 21s
Cypress Tests
5m 59s
Playwright Tests (mocked)
13m 27s
E2E Tests
12m 9s
Annotations
4 errors
src/admin/users/userDialogue.component.test.tsx > userDialogue > add dialog > adds user successfully (local):
src/admin/users/userDialogue.component.test.tsx#L81
AssertionError: expected "wrap" to be called with arguments: [ '/users', …(2) ]
Received:
1st wrap call:
Array [
"/users",
Object {
"_id": "new_user",
"auth_type": "local",
"authorised_routes": Array [
"/submit/hdf POST",
"/users PATCH",
],
"sha256_password": "secure_password",
},
- Object {
- "headers": Object {
- "Authorization": "***",
- },
- },
]
Number of calls: 1
❯ src/admin/users/userDialogue.component.test.tsx:81:28
|
src/admin/users/userDialogue.component.test.tsx > userDialogue > add dialog > adds user successfully (fedId):
src/admin/users/userDialogue.component.test.tsx#L109
AssertionError: expected "wrap" to be called with arguments: [ '/users', …(2) ]
Received:
1st wrap call:
Array [
"/users",
Object {
"_id": "new_user",
"auth_type": "FedID",
- },
- Object {
- "headers": Object {
- "Authorization": "***",
- },
+ "authorised_routes": undefined,
+ "sha256_password": undefined,
},
]
Number of calls: 1
❯ src/admin/users/userDialogue.component.test.tsx:109:28
|
src/admin/users/userDialogue.component.test.tsx > userDialogue > add dialog > adds user successfully (fedId) switch from local to fedId:
src/admin/users/userDialogue.component.test.tsx#L137
AssertionError: expected "wrap" to be called with arguments: [ '/users', …(2) ]
Received:
1st wrap call:
Array [
"/users",
Object {
"_id": "new_user",
"auth_type": "FedID",
- },
- Object {
- "headers": Object {
- "Authorization": "***",
- },
+ "authorised_routes": undefined,
+ "sha256_password": undefined,
},
]
Number of calls: 1
❯ src/admin/users/userDialogue.component.test.tsx:137:28
|
Lint & Unit Tests
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-mocked-tests
|
22.4 MB |
|
playwright-report-real-tests
|
209 KB |
|