fix #878 #1071
Annotations
8 errors
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts > computeRootForm > simple case:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts#L145
AssertionError: expected { …(4) } to strictly equal { …(4) }
- Expected
+ Received
Object {
"dependencies": Object {
"postgresql": Object {
"global": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"postgresql",
"username",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "username",
"type": "field",
"value": "admin",
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"postgresql",
"password",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "password",
"type": "field",
"value": "xxx",
},
],
"main": Array [
Object {
"description": undefined,
"fieldType": "checkbox",
"helmValuesPath": Array [
"postgresql",
"enabled",
],
"isReadonly": false,
"title": "enabled",
"type": "field",
"value": true,
},
],
},
},
"disabledDependencies": Array [],
"global": Array [
Object {
"description": undefined,
"fieldType": "number field",
"helmValuesPath": Array [
"global",
"c",
],
"isInteger": false,
"isReadonly": false,
"minimum": undefined,
"title": "c",
"type": "field",
"value": 2,
},
],
"main": Array [
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [
"services",
],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"services",
"a",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "foo",
},
],
+ "title": undefined,
"type": "group",
},
],
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts:145:21
|
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts > computeRootForm > works with dependency same name as chart:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts#L282
AssertionError: expected { main: [ { …(7) }, { …(10) } ], …(3) } to strictly equal { main: [ { …(6) }, { …(10) } ], …(3) }
- Expected
+ Received
Object {
"dependencies": Object {},
"disabledDependencies": Array [],
"global": Array [
Object {
"description": undefined,
"fieldType": "number field",
"helmValuesPath": Array [
"global",
"c",
],
"isInteger": false,
"isReadonly": false,
"minimum": undefined,
"title": "c",
"type": "field",
"value": 2,
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"foo",
"username",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "username",
"type": "field",
"value": "value of global.foo.username",
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"foo",
"password",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "password",
"type": "field",
"value": "value of global.foo.password",
},
],
"main": Array [
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [
"services",
],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"services",
"a",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "value of services.a",
},
],
+ "title": undefined,
"type": "group",
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"foo",
"b",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "b",
"type": "field",
"value": "value of foo.b",
},
],
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts:282:21
|
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts > computeRootFormFieldGroup > simple case:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts#L66
AssertionError: expected { type: 'group', …(6) } to strictly equal { type: 'group', …(5) }
- Expected
+ Received
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"a",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "foo",
},
Object {
"description": undefined,
"fieldType": "select",
"helmValuesPath": Array [
"b",
],
"isReadonly": false,
"options": Array [
1,
2,
3,
],
"selectedOptionIndex": 1,
"title": "b",
"type": "field",
},
],
+ "title": undefined,
"type": "group",
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts:66:21
|
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts > computeRootFormFieldGroup > const should be readonly:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts#L108
AssertionError: expected { type: 'group', …(6) } to strictly equal { type: 'group', …(5) }
- Expected
+ Received
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"a",
],
"isReadonly": true,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "foo",
},
],
+ "title": undefined,
"type": "group",
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts:108:21
|
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts > computeRootFormFieldGroup > compute hidden field - relative:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts#L182
AssertionError: expected { type: 'group', …(6) } to strictly equal { type: 'group', …(5) }
- Expected
+ Received
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [],
"nodes": Array [
Object {
"canAdd": false,
"canRemove": false,
"description": "Configuration for persistence",
"helmValuesPath": Array [
"persistence",
],
"nodes": Array [
Object {
"description": "Create a persistent volume",
"fieldType": "checkbox",
"helmValuesPath": Array [
"persistence",
"enabled",
],
"isReadonly": false,
"title": "enabled",
"type": "field",
"value": false,
},
],
+ "title": undefined,
"type": "group",
},
],
+ "title": undefined,
"type": "group",
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts:182:21
|
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts > computeRootFormFieldGroup > compute hidden field - absolute:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts#L255
AssertionError: expected { type: 'group', …(6) } to strictly equal { type: 'group', …(5) }
- Expected
+ Received
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [],
"nodes": Array [
Object {
"canAdd": false,
"canRemove": false,
"description": "Configuration for persistence",
"helmValuesPath": Array [
"persistence",
],
"nodes": Array [
Object {
"description": "Create a persistent volume",
"fieldType": "checkbox",
"helmValuesPath": Array [
"persistence",
"enabled",
],
"isReadonly": false,
"title": "enabled",
"type": "field",
"value": false,
},
],
+ "title": undefined,
"type": "group",
},
],
+ "title": undefined,
"type": "group",
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts:255:21
|
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts > computeRootFormFieldGroup > with array:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts#L351
AssertionError: expected { type: 'group', …(6) } to strictly equal { type: 'group', …(5) }
- Expected
+ Received
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"a",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "value of a",
},
Object {
"canAdd": true,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [
"b",
],
"nodes": Array [
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [
"b",
0,
],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"b",
0,
"foo",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "foo",
"type": "field",
"value": "value of foo",
},
Object {
"description": undefined,
"fieldType": "number field",
"helmValuesPath": Array [
"b",
0,
"bar",
],
"isInteger": false,
"isReadonly": false,
"minimum": undefined,
"title": "bar",
"type": "field",
"value": 42,
},
],
+ "title": undefined,
"type": "group",
},
],
+ "title": undefined,
"type": "group",
},
],
+ "title": undefined,
"type": "group",
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts:351:21
|
test_web
Process completed with exit code 1.
|