@sankhyalabs/core 5.20.0-dev.37 → 5.20.0-dev.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,7 +24,7 @@ export class OnboardingUtils {
|
|
|
24
24
|
window.document.head.appendChild(scriptEl);
|
|
25
25
|
}
|
|
26
26
|
register(ctx) {
|
|
27
|
-
window.userGuiding.identify(`${ctx.userID}-${ctx.userName}-${ctx.clientGaId}`, ctx);
|
|
27
|
+
window.userGuiding.identify(`${encodeURIComponent(ctx.userID)}-${encodeURIComponent(ctx.userName)}-${encodeURIComponent(ctx.clientGaId)}`, ctx);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
OnboardingUtils.USER_GUIDE_TAG_ID = "userGuideSnippet";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OnboardingUtils.js","sourceRoot":"","sources":["../../src/utils/OnboardingUtils.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,eAAe;IAIxB,gBAAsB,CAAC;IAEhB,MAAM,CAAC,WAAW;QACrB,IAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAC;YACrB,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,EAAE,CAAC;SACzC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAEM,IAAI,CAAC,MAAc,EAAE,GAAuB;QAC/C,IAAG,CAAC,MAAM,EAAC;YACP,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;SAC5B;QACD,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACnB,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC;IAEO,YAAY,CAAC,MAAc;QAC/B,IAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,eAAe,CAAC,iBAAiB,EAAE,CAAC,EAAC;YACjF,OAAO;SACV;QAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAClD,QAAQ,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;QAC/D,QAAQ,CAAC,SAAS,GAAG,ygBAAygB,MAAM,KAAK,CAAC;QAC1iB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAEO,QAAQ,CAAC,GAAuB;QACnC,MAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,UAAU,EAAE,EAAE,GAAG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"OnboardingUtils.js","sourceRoot":"","sources":["../../src/utils/OnboardingUtils.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,eAAe;IAIxB,gBAAsB,CAAC;IAEhB,MAAM,CAAC,WAAW;QACrB,IAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAC;YACrB,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,EAAE,CAAC;SACzC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAEM,IAAI,CAAC,MAAc,EAAE,GAAuB;QAC/C,IAAG,CAAC,MAAM,EAAC;YACP,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;SAC5B;QACD,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACnB,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC;IAEO,YAAY,CAAC,MAAc;QAC/B,IAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,eAAe,CAAC,iBAAiB,EAAE,CAAC,EAAC;YACjF,OAAO;SACV;QAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAClD,QAAQ,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;QAC/D,QAAQ,CAAC,SAAS,GAAG,ygBAAygB,MAAM,KAAK,CAAC;QAC1iB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAEO,QAAQ,CAAC,GAAuB;QACnC,MAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,kBAAkB,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,kBAAkB,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IAC7J,CAAC;;AAlCuB,iCAAiB,GAAG,kBAAkB,CAAC;AAqCnE,MAAM,OAAO,kBAAkB;IAA/B;QACK,WAAM,GAAW,EAAE,CAAC;QACpB,aAAQ,GAAW,EAAE,CAAC;QACtB,gBAAW,GAAW,EAAE,CAAC;QACzB,eAAU,GAAW,EAAE,CAAC;QACxB,gBAAW,GAAW,EAAE,CAAC;QACzB,eAAU,GAAW,EAAE,CAAC;IAC7B,CAAC;CAAA"}
|
package/package.json
CHANGED
package/reports/test-report.xml
CHANGED
|
@@ -1,156 +1,156 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<unitTest version="1">
|
|
3
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaModel.spec.ts">
|
|
4
|
-
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="11"/>
|
|
5
|
-
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="2"/>
|
|
6
|
-
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="1"/>
|
|
7
|
-
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="3"/>
|
|
8
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="2"/>
|
|
9
|
-
<testCase name="StringUtils it should return undefined as "expression" and "[]" as parameters as we use an empty criteria as first entry in the constructor" duration="1"/>
|
|
10
|
-
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
11
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
12
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
13
|
-
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "AND" method" duration="26"/>
|
|
14
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
15
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
16
|
-
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="2"/>
|
|
17
|
-
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="1"/>
|
|
18
|
-
</file>
|
|
19
3
|
<file path="/builds/dti/design-system/sankhyacore/test/util/MaskFormatter.spec.ts">
|
|
20
|
-
<testCase name="Mask Formatter mask:CPF complete valid" duration="
|
|
4
|
+
<testCase name="Mask Formatter mask:CPF complete valid" duration="93"/>
|
|
21
5
|
<testCase name="Mask Formatter mask:CPF complete valid literals" duration="1"/>
|
|
22
6
|
<testCase name="Mask Formatter mask:CPF incomplete valid" duration="1"/>
|
|
23
7
|
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="1"/>
|
|
24
|
-
<testCase name="Mask Formatter mask:CPF too long valid" duration="
|
|
25
|
-
<testCase name="Mask Formatter mask:CPF invalid for string" duration="
|
|
26
|
-
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="
|
|
27
|
-
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="
|
|
28
|
-
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="
|
|
29
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
8
|
+
<testCase name="Mask Formatter mask:CPF too long valid" duration="2"/>
|
|
9
|
+
<testCase name="Mask Formatter mask:CPF invalid for string" duration="295"/>
|
|
10
|
+
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="1"/>
|
|
11
|
+
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="0"/>
|
|
12
|
+
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="0"/>
|
|
13
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="3"/>
|
|
30
14
|
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="1"/>
|
|
31
15
|
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="1"/>
|
|
32
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
16
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
33
17
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
34
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="
|
|
35
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
36
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
18
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
|
|
19
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
20
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="9"/>
|
|
37
21
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
38
22
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
39
23
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
40
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="
|
|
24
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="73"/>
|
|
41
25
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
42
26
|
</file>
|
|
27
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaModel.spec.ts">
|
|
28
|
+
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="71"/>
|
|
29
|
+
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="1"/>
|
|
30
|
+
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="1"/>
|
|
31
|
+
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="6"/>
|
|
32
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="1"/>
|
|
33
|
+
<testCase name="StringUtils it should return undefined as "expression" and "[]" as parameters as we use an empty criteria as first entry in the constructor" duration="1"/>
|
|
34
|
+
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "OR" method" duration="94"/>
|
|
35
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
36
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="2"/>
|
|
37
|
+
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "AND" method" duration="3"/>
|
|
38
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="0"/>
|
|
39
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
40
|
+
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
41
|
+
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="1"/>
|
|
42
|
+
</file>
|
|
43
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
44
|
+
<testCase name="HttpProvider Metodo GET" duration="10"/>
|
|
45
|
+
</file>
|
|
46
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
47
|
+
<testCase name="HttpProvider Metodo POST" duration="1"/>
|
|
48
|
+
</file>
|
|
43
49
|
<file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
|
|
44
|
-
<testCase name="StringUtils valor vazio" duration="
|
|
50
|
+
<testCase name="StringUtils valor vazio" duration="2"/>
|
|
45
51
|
<testCase name="StringUtils valor em branco" duration="1"/>
|
|
46
52
|
<testCase name="StringUtils valor null" duration="0"/>
|
|
47
53
|
<testCase name="StringUtils valor undefined" duration="0"/>
|
|
48
|
-
<testCase name="StringUtils valor 0" duration="
|
|
54
|
+
<testCase name="StringUtils valor 0" duration="0"/>
|
|
49
55
|
<testCase name="StringUtils com valor" duration="0"/>
|
|
50
56
|
<testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="1"/>
|
|
51
|
-
<testCase name="StringUtils should return the original value when called with an object without a toString method" duration="
|
|
52
|
-
<testCase name="StringUtils should return the original value when called with undefined" duration="
|
|
53
|
-
</file>
|
|
54
|
-
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
55
|
-
<testCase name="HttpProvider Metodo GET" duration="1"/>
|
|
57
|
+
<testCase name="StringUtils should return the original value when called with an object without a toString method" duration="3"/>
|
|
58
|
+
<testCase name="StringUtils should return the original value when called with undefined" duration="1"/>
|
|
56
59
|
</file>
|
|
57
60
|
<file path="/builds/dti/design-system/sankhyacore/test/util/NumberUtils.spec.ts">
|
|
58
|
-
<testCase name="StringUtils stringToNumber" duration="
|
|
59
|
-
<testCase name="StringUtils format" duration="
|
|
61
|
+
<testCase name="StringUtils stringToNumber" duration="11"/>
|
|
62
|
+
<testCase name="StringUtils format" duration="206"/>
|
|
60
63
|
<testCase name="StringUtils format without formatnumber parameter" duration="1"/>
|
|
61
64
|
<testCase name="StringUtils format without formatnumber parameter" duration="1"/>
|
|
62
|
-
<testCase name="StringUtils format round number" duration="
|
|
63
|
-
</file>
|
|
64
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
65
|
-
<testCase name="OverflowWatcher should initialize with provided parameters" duration="87"/>
|
|
66
|
-
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="2"/>
|
|
67
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="405"/>
|
|
68
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="98"/>
|
|
69
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="17"/>
|
|
70
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="11"/>
|
|
71
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="10"/>
|
|
72
|
-
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="82"/>
|
|
73
|
-
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
|
|
74
|
-
</file>
|
|
75
|
-
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
76
|
-
<testCase name="HttpProvider Metodo POST" duration="1"/>
|
|
65
|
+
<testCase name="StringUtils format round number" duration="2"/>
|
|
77
66
|
</file>
|
|
78
67
|
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
79
68
|
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="1"/>
|
|
80
|
-
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the setters methods" duration="
|
|
69
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the setters methods" duration="1"/>
|
|
81
70
|
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="0"/>
|
|
82
71
|
</file>
|
|
72
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
73
|
+
<testCase name="OverflowWatcher should initialize with provided parameters" duration="84"/>
|
|
74
|
+
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="2"/>
|
|
75
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="292"/>
|
|
76
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="26"/>
|
|
77
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="82"/>
|
|
78
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="9"/>
|
|
79
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="6"/>
|
|
80
|
+
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="91"/>
|
|
81
|
+
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
|
|
82
|
+
</file>
|
|
83
83
|
<file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
|
|
84
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="
|
|
85
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="
|
|
86
|
-
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="
|
|
84
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="2"/>
|
|
85
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="0"/>
|
|
86
|
+
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="2"/>
|
|
87
87
|
</file>
|
|
88
88
|
<file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
89
|
-
<testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="
|
|
90
|
-
<testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="
|
|
91
|
-
<testCase name="TimeFormatter Case: validateTime" duration="
|
|
89
|
+
<testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="3"/>
|
|
90
|
+
<testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="2"/>
|
|
91
|
+
<testCase name="TimeFormatter Case: validateTime" duration="10"/>
|
|
92
92
|
</file>
|
|
93
93
|
<file path="/builds/dti/design-system/sankhyacore/test/util/DataUnitStorage.spec.ts">
|
|
94
|
-
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="
|
|
94
|
+
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="72"/>
|
|
95
95
|
<testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="1"/>
|
|
96
96
|
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="1"/>
|
|
97
|
-
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="
|
|
98
|
-
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="
|
|
99
|
-
<testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="
|
|
97
|
+
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="1"/>
|
|
98
|
+
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="1"/>
|
|
99
|
+
<testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="1"/>
|
|
100
100
|
</file>
|
|
101
101
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementIDUtils.spec.ts">
|
|
102
|
-
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
103
|
-
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="
|
|
102
|
+
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="11"/>
|
|
103
|
+
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="2"/>
|
|
104
104
|
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
105
105
|
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="1"/>
|
|
106
106
|
<testCase name="addIDInfo 5 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="1"/>
|
|
107
|
-
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
108
|
-
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="
|
|
107
|
+
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="66"/>
|
|
108
|
+
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="2"/>
|
|
109
109
|
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="1"/>
|
|
110
|
-
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
111
|
-
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
110
|
+
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
111
|
+
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
112
112
|
<testCase name="addIDInfo 11 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
113
|
-
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="
|
|
114
|
-
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="
|
|
115
|
-
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="
|
|
113
|
+
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
114
|
+
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="17"/>
|
|
115
|
+
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="72"/>
|
|
116
116
|
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
117
|
-
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="
|
|
117
|
+
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
118
118
|
<testCase name="addIDInfo 17 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
119
|
-
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
120
|
-
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
121
|
-
<testCase name="addIDInfo 20 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
119
|
+
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="5"/>
|
|
120
|
+
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="2"/>
|
|
121
|
+
<testCase name="addIDInfo 20 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="2"/>
|
|
122
122
|
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
123
123
|
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="1"/>
|
|
124
124
|
</file>
|
|
125
125
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementUtils.spec.ts">
|
|
126
|
-
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="
|
|
127
|
-
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="
|
|
128
|
-
<testCase name="calcMarginSize should threat values defined as zero" duration="
|
|
126
|
+
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="29"/>
|
|
127
|
+
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="2"/>
|
|
128
|
+
<testCase name="calcMarginSize should threat values defined as zero" duration="4"/>
|
|
129
129
|
</file>
|
|
130
130
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/formatting/PrettyFormatter.spec.ts">
|
|
131
|
-
<testCase name="getFormattedValue should return empty string when value is null" duration="
|
|
131
|
+
<testCase name="getFormattedValue should return empty string when value is null" duration="5"/>
|
|
132
132
|
<testCase name="getFormattedValue should return empty string when value is not an array" duration="0"/>
|
|
133
|
-
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="
|
|
133
|
+
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="1"/>
|
|
134
134
|
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="0"/>
|
|
135
135
|
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="1"/>
|
|
136
|
-
<testCase name="getFormattedValue should return empty string for undefined file" duration="
|
|
136
|
+
<testCase name="getFormattedValue should return empty string for undefined file" duration="0"/>
|
|
137
137
|
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="0"/>
|
|
138
138
|
<testCase name="getFormattedValue should return empty string when value is undefined" duration="1"/>
|
|
139
139
|
<testCase name="getFormattedValue should return value as string when value is not an object" duration="0"/>
|
|
140
140
|
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="1"/>
|
|
141
141
|
<testCase name="getFormattedValue should handle BOOLEAN type" duration="0"/>
|
|
142
|
-
<testCase name="getFormattedValue should format numbers correctly" duration="
|
|
143
|
-
<testCase name="getFormattedValue should format dates correctly" duration="
|
|
142
|
+
<testCase name="getFormattedValue should format numbers correctly" duration="11"/>
|
|
143
|
+
<testCase name="getFormattedValue should format dates correctly" duration="23"/>
|
|
144
144
|
<testCase name="getFormattedValue should format times correctly" duration="1"/>
|
|
145
145
|
<testCase name="getFormattedValue should format datetime correctly" duration="1"/>
|
|
146
|
-
<testCase name="getFormattedValue should call toString with correct parameters" duration="
|
|
146
|
+
<testCase name="getFormattedValue should call toString with correct parameters" duration="1"/>
|
|
147
147
|
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="0"/>
|
|
148
148
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="1"/>
|
|
149
149
|
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="0"/>
|
|
150
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="
|
|
151
|
-
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="
|
|
150
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="1"/>
|
|
151
|
+
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="0"/>
|
|
152
152
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="0"/>
|
|
153
153
|
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="1"/>
|
|
154
|
-
<testCase name="getFormattedValue should format masked values correctly" duration="
|
|
154
|
+
<testCase name="getFormattedValue should format masked values correctly" duration="2"/>
|
|
155
155
|
</file>
|
|
156
156
|
</unitTest>
|
|
@@ -32,7 +32,7 @@ export class OnboardingUtils {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
private register(ctx: EnvironmentContext){
|
|
35
|
-
(window as any).userGuiding.identify(`${ctx.userID}-${ctx.userName}-${ctx.clientGaId}`, ctx);
|
|
35
|
+
(window as any).userGuiding.identify(`${encodeURIComponent(ctx.userID)}-${encodeURIComponent(ctx.userName)}-${encodeURIComponent(ctx.clientGaId)}`, ctx);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|