Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/tutorial-cpp-ui-app.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,10 @@ sections:
setup:
- "nix build 'github:logos-co/logos-qt-mcp{release}' -o result-mcp"
qt_mcp: "result-mcp"
# `nix build .` (the runner's warm-up) builds the UI plugin, not
# `apps.default`'s standalone-app closure, so that still compiles
# during launch and can blow past the default 120s inspector wait.
launch_timeout: 900
tests:
- name: "App window opens with title"
action: wait_for
Expand Down
10 changes: 10 additions & 0 deletions tests/tutorial-qml-ui-app.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,13 @@ sections:
setup:
- "nix build 'github:logos-co/logos-qt-mcp{release}' -o result-mcp"
qt_mcp: "result-mcp"
# The runner pre-builds `nix build .` — that is `packages.default`
# (the UI plugin). But `nix run .` launches `apps.default`, the
# standalone app, whose closure (logos-standalone-app + the bundled
# backend modules) is NOT covered by that warm build, so it compiles
# during launch. On a cold cache that exceeds the default 120s
# inspector wait and the app never boots before we give up.
launch_timeout: 900
tests:
- name: "App window opens with title"
action: wait_for
Expand Down Expand Up @@ -446,6 +453,9 @@ sections:
setup:
- "nix build 'github:logos-co/logos-qt-mcp{release}' -o result-mcp"
qt_mcp: "result-mcp"
# Overriding calc_module rebuilds the standalone app closure, which
# the `nix build` warm-up does not cover — see the note in Step 5.
launch_timeout: 900
tests:
- name: "App title visible"
action: wait_for
Expand Down
Loading