You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t.Skip("Skipping this test temporarily until the API becomes available in the DEU environment.")
218
217
fmt.Println("Step 1: Testing the command 'triage show' with predefined values.")
219
218
// After the api/custom-states becomes available in the DEU environment, replace the hardcoded value with getRootScan(t) and create "state2" as a custom state in DEU.
220
-
projectID:="a2d52ac9-d007-4d95-a65e-bbe61c3451a4"
221
-
similarityID:="-1213859962"
222
-
scanType:="sast"
223
-
224
-
outputBuffer:=executeCmdNilAssertion(
225
-
t, "Fetching predicates should work.", "triage", "show",
226
-
flag(params.FormatFlag), printer.FormatJSON,
227
-
flag(params.ProjectIDFlag), projectID,
228
-
flag(params.SimilarityIDFlag), similarityID,
229
-
flag(params.ScanTypeFlag), scanType,
219
+
scanID, projectID:=getRootScan(t)
220
+
_=executeCmdNilAssertion(
221
+
t, "Results show generating JSON report with options should pass",
0 commit comments