MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / workflow_default

Function workflow_default

test/dataflow-visualizer/mzcompose.py:38–49  ·  view source on GitHub ↗

Run dataflow visualizer E2E tests

(c: Composition)

Source from the content-addressed store, hash-verified

36
37
38def workflow_default(c: Composition) -> None:
39 """Run dataflow visualizer E2E tests"""
40 c.up("materialized")
41 try:
42 c.run("playwright", "/workdir/run-tests.sh")
43 finally:
44 # Upload Playwright traces if they exist (created on test failure)
45 traces_path = (
46 MZ_ROOT / "test" / "dataflow-visualizer" / "playwright-traces.tar.gz"
47 )
48 if traces_path.exists() and is_in_buildkite():
49 upload_artifact(traces_path)

Callers

nothing calls this directly

Calls 5

is_in_buildkiteFunction · 0.90
upload_artifactFunction · 0.90
existsMethod · 0.80
upMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected