Skip to content

Commit 61103e7

Browse files
cezara98tclaude
andcommitted
test(maestro-flow): copy_taxonomy takes #4570's processor criterion
Credit Note must end up with a key of its own: schema set provisions one for a node that has none. The file now matches #4570's, so the two merge cleanly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent abe9ab8 commit 61103e7

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

‎tests/tasks/uipath-maestro-flow/extract-document/copy_taxonomy/copy_taxonomy.yaml‎

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ description: >
44
another in the same flow. Tests that the target ends up with the source's
55
whole taxonomy (prompt, a nested repeating group, fields, types, a Choice and
66
instructions) and that only the taxonomy moves: the target keeps its own
7-
label, file input, extraction source and model settings, and gets a
8-
processor of its own rather than the source's. Ids are not graded: the guide
9-
does not say whether a copy keeps the source's ids or gets new ones.
7+
label, file input, extraction source and model settings, and takes no
8+
processorKey from the source. Ids are not graded: the guide does not say whether a copy keeps the
9+
source's ids or gets new ones. The processor is graded: writing the taxonomy
10+
provisions the target's own, so it ends up with a processorKey that is not
11+
the source's.
1012
11-
No `flow debug`: a CLI-authored Extract document node extracts nothing
12-
until the flow is saved once in Studio Web.
13+
No `flow debug`: the task is offline authoring, and nothing in it deploys or
14+
runs the flow.
1315
1416
tags: [uipath-maestro-flow, integration, mode:build, lifecycle:generate, shape:single-node, node:extract-document]
1517

@@ -75,12 +77,14 @@ success_criteria:
7577
pass_threshold: 1.0
7678

7779
- type: json_check
78-
description: "Extract Credit Note does not take Extract Invoice's processorKey, so it does not run Invoice's processor"
80+
description: "Extract Credit Note ends up with a processorKey of its own, and never Extract Invoice's: writing a taxonomy to a node that has no processor provisions one, and a copied key would name the source's processor, which pack refuses as a duplicate author."
7981
path: "BillingDocs/BillingDocs/BillingDocs.flow"
8082
assertions:
81-
- expression: "length(nodes[?id=='extractCreditNote1' && inputs.processorKey=='3f6b2a9e-8c41-4d7a-9b25-61e0c4d8f713'])"
83+
# The literal is the source node's key in
84+
# _fixtures/BillingDocs/BillingDocs/BillingDocs.flow — keep them in step.
85+
- expression: "length(nodes[?id=='extractCreditNote1' && inputs.processorKey && inputs.processorKey!='3f6b2a9e-8c41-4d7a-9b25-61e0c4d8f713'])"
8286
operator: equals
83-
expected: 0
87+
expected: 1
8488
weight: 1.5
8589
pass_threshold: 1.0
8690

0 commit comments

Comments
 (0)