Skip to content

Commit 922f11a

Browse files
committed
Update e2e tests
1 parent c7191f3 commit 922f11a

4 files changed

Lines changed: 5 additions & 12 deletions

File tree

tests_e2e/references/reference_app.sh_l10

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Usage:
77
Available Commands:
88
completion Generate the autocompletion script for the specified shell
99
help Help about any command
10+
mcp Start the MCP server (stdio transport).
1011
schema Print the JSON schema for .act files.
1112
validate Validate a graph file.
1213
version Print the version number of actrun

tests_e2e/references/reference_contexts_env.sh_l26

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Usage:
77
Available Commands:
88
completion Generate the autocompletion script for the specified shell
99
help Help about any command
10+
mcp Start the MCP server (stdio transport).
1011
schema Print the JSON schema for .act files.
1112
validate Validate a graph file.
1213
version Print the version number of actrun

tests_e2e/references/reference_validate.sh_l8

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,13 @@ looking for value: 'graph_file'
44
evaluated to: 'validate.act'
55
Validating 'validate.act'...
66

7-
❌ Graph validation failed with 4 error(s):
7+
❌ Graph validation failed with 2 error(s):
88

99
--- Error 1 ---
10-
error:
11-
1: failed to connect data ports
12-
↳ source node 'Group Inputs' (core-group-inputs-v1-coconut-jackfruit-pomegranate) has no output 'penguin-teal-cranberry-doesnt-exist'
13-
14-
--- Error 2 ---
15-
error:
16-
1: failed to connect data ports
17-
↳ destination node 'Group Output' (core-group-outputs-v1-lobster-kangaroo-squirrel) has no input 'tiger-cranberry-white-doesnt-exist'
18-
19-
--- Error 3 ---
2010
error:
2111
1: connection dst node 'core-print-v1-crab-red-gold-doesnt-exist' does not exist
2212

23-
--- Error 4 ---
13+
--- Error 2 ---
2414
error:
2515
1: failed to connect data ports
2616
↳ destination node 'Print' (core-print-v1-crab-red-gold) has no input 'values[999999]'

tests_e2e/tests_e2e.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ def run_test_script(root_path: str, script_file: str, working_dir: str):
228228
stdout=subprocess.PIPE,
229229
stderr=subprocess.STDOUT,
230230
text=True,
231+
encoding='utf-8',
231232
check=False
232233
)
233234

0 commit comments

Comments
 (0)