fix string to genericType tests #11269
Triggered via pull request
November 20, 2024 23:51
Status
Failure
Total duration
10m 23s
Artifacts
–
Annotations
10 errors
[INTEGRATION] Query builder loads grouped post filter panels using constants:
packages/legend-query-builder/src/components/__tests__/QueryBuilderPostFilterPanel.test.tsx#L383
expect(received).toEqual(expected) // deep equality
- Expected - 8
+ Received + 1
@@ -517,18 +517,11 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "genericType": Object {
- "rawType": Object {
- "_type": "packageableType",
- "fullPath": "Date",
- },
- "typeArguments": Array [],
- "typeVariableValues": Array [],
- },
+ "class": "Date",
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "dateParam",
at Object.toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderPostFilterPanel.test.tsx:383:63)
|
[INTEGRATION] Query builder builds post filter and shows correct operations:
packages/legend-query-builder/src/components/__tests__/QueryBuilderPostFilterPanel.test.tsx#L658
expect(received).toEqual(expected) // deep equality
- Expected - 8
+ Received + 1
@@ -427,18 +427,11 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "genericType": Object {
- "rawType": Object {
- "_type": "packageableType",
- "fullPath": "Date",
- },
- "typeArguments": Array [],
- "typeVariableValues": Array [],
- },
+ "class": "Date",
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "dateParam",
at Object.toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderPostFilterPanel.test.tsx:658:52)
|
[INTEGRATION] Derived Projection Columns Lambdas are build correctly to fetch correct return type:
packages/legend-query-builder/src/components/__tests__/QueryBuilderPostFilterPanel.test.tsx#L1432
expect(received).toEqual(expected) // deep equality
- Expected - 16
+ Received + 2
@@ -106,34 +106,20 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "genericType": Object {
- "rawType": Object {
- "_type": "packageableType",
- "fullPath": "model::Person",
- },
- "typeArguments": Array [],
- "typeVariableValues": Array [],
- },
+ "class": "model::Person",
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "x",
},
Object {
"_type": "var",
- "genericType": Object {
- "rawType": Object {
- "_type": "packageableType",
- "fullPath": "String",
- },
- "typeArguments": Array [],
- "typeVariableValues": Array [],
- },
+ "class": "String",
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "testing",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderPostFilterPanel.test.tsx:1432:30)
at Array.forEach (<anonymous>)
at Object.forEach (packages/legend-query-builder/src/components/__tests__/QueryBuilderPostFilterPanel.test.tsx:1421:11)
|
[INTEGRATION] Milestoning filter DnD query is properly built › Query builder loads simple filter when we DnD filter node and both source and target are business temporal:
packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx#L1752
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 8
@@ -60,11 +60,18 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "businessDate",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx:1752:11)
|
[INTEGRATION] Milestoning filter DnD query is properly built › Query builder loads simple filter when we DnD filter node and source is business temporal:
packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx#L1752
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 16
@@ -64,20 +64,34 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "businessDate",
},
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "processingDate",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx:1752:11)
|
[INTEGRATION] Milestoning filter DnD query is properly built › Query builder loads simple filter when we DnD filter node and source is business temporal:
packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx#L1752
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 16
@@ -68,20 +68,34 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "businessDate",
},
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "processingDate",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx:1752:11)
|
[INTEGRATION] Milestoning filter DnD query is properly built › Query builder loads simple filter when we DnD filter node and source is processing temporal:
packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx#L1752
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 16
@@ -64,20 +64,34 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "processingDate",
},
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "businessDate",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx:1752:11)
|
[INTEGRATION] Milestoning filter DnD query is properly built › Query builder loads simple filter when we DnD filter node and source is processing temporal:
packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx#L1752
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 8
@@ -60,11 +60,18 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "processingDate",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx:1752:11)
|
[INTEGRATION] Milestoning filter DnD query is properly built › Query builder loads simple filter when we DnD filter node and source is processing temporal:
packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx#L1752
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 16
@@ -68,20 +68,34 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "processingDate",
},
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "businessDate",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx:1752:11)
|
[INTEGRATION] Milestoning filter DnD query is properly built › Query builder loads simple filter when we DnD filter node and source is biTemporal:
packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx#L1752
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 16
@@ -64,20 +64,34 @@
},
],
"parameters": Array [
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "processingDate",
},
Object {
"_type": "var",
- "class": "Date",
+ "genericType": Object {
+ "rawType": Object {
+ "_type": "packageableType",
+ "fullPath": "Date",
+ },
+ "typeArguments": Array [],
+ "typeVariableValues": Array [],
+ },
"multiplicity": Object {
"lowerBound": 1,
"upperBound": 1,
},
"name": "businessDate",
at toEqual (packages/legend-query-builder/src/components/__tests__/QueryBuilderFilterPanel.test.tsx:1752:11)
|