File tree 6 files changed +17
-17
lines changed
6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 24
24
"url" : " https://github.com/datatrue-analytics/datatrue-cli/issues"
25
25
},
26
26
"dependencies" : {
27
- "@datatrue/api" : " ^0.2.0 " ,
27
+ "@datatrue/api" : " ^0.2.1 " ,
28
28
"@giusto/ink-router" : " ^2.4.0" ,
29
29
"chalk" : " ^4.1.0" ,
30
30
"cli-progress" : " ^3.8.2" ,
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export const builder = (yargs: Argv): Argv => {
90
90
const row : Record < string , any > = {
91
91
ID : step . getResourceID ( ) ,
92
92
Name : step . name ,
93
- "Step Action" : DataTrue . StepActions [ step . action ] ,
93
+ "Step Action" : step . action ,
94
94
} ;
95
95
96
96
if ( argv . target ) {
@@ -121,6 +121,10 @@ export const builder = (yargs: Argv): Argv => {
121
121
row [ "Wait While Present" ] = step . options . wait_while_present ;
122
122
}
123
123
124
+ if ( argv [ "common-tag-validations" ] ) {
125
+ row [ "Use Common Tag Validations" ] = step . options . use_common_tag_validations ;
126
+ }
127
+
124
128
if ( argv . strategy ) {
125
129
row [ "Strategy" ] = step . options . settings ?. strategy ;
126
130
}
@@ -133,10 +137,6 @@ export const builder = (yargs: Argv): Argv => {
133
137
row [ "Template Detection" ] = step . options . settings ?. template_detection ;
134
138
}
135
139
136
- if ( argv [ "common-tag-validations" ] ) {
137
- row [ "Use Common Tag Validations" ] = step . options . settings ?. use_common_tag_validations ;
138
- }
139
-
140
140
rows . push ( row ) ;
141
141
} ) ;
142
142
if ( rows . length ) {
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export const builder = (yargs: Argv): Argv => {
111
111
const row : Record < string , any > = {
112
112
ID : suite . getResourceID ( ) ,
113
113
Name : suite . name ,
114
- "Suite Type" : DataTrue . SuiteTypes [ suite . options . suite_type ?? 0 ] ,
114
+ "Suite Type" : suite . options . suite_type ,
115
115
} ;
116
116
117
117
rows . push ( row ) ;
Original file line number Diff line number Diff line change @@ -130,11 +130,11 @@ export const builder = (yargs: Argv): Argv => {
130
130
}
131
131
132
132
if ( argv [ "do-validation" ] ) {
133
- row [ "Do Validation" ] = tagValidation . options . interception ?. do_validation ;
133
+ row [ "Do Validation" ] = tagValidation . options . do_validation ;
134
134
}
135
135
136
136
if ( argv [ "detect-duplicates" ] ) {
137
- row [ "Detect Duplicates" ] = tagValidation . options . detect_duplicates ?? false ;
137
+ row [ "Detect Duplicates" ] = tagValidation . options . detect_duplicates ;
138
138
}
139
139
140
140
if ( argv [ "validate-absence" ] ) {
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export const builder = (yargs: Argv): Argv => {
85
85
const row : Record < string , any > = {
86
86
ID : test . getResourceID ( ) ,
87
87
Name : test . name ,
88
- "Test Type" : DataTrue . TestTypes [ test . testType ] ,
88
+ "Test Type" : test . testType ,
89
89
} ;
90
90
91
91
rows . push ( row ) ;
You can’t perform that action at this time.
0 commit comments