Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
24 changes: 20 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
# fallback is only mounted when `OPENCOMPANY_CONSOLE_DIR` points at a real
# directory, so the default build's behavior is byte-for-byte unchanged. Pure
# Rust, no system libs, no network.
tower-http = { version = "0.6", features = ["fs"] }
tower-http = { version = "0.7", features = ["fs"] }
# `ServiceExt::oneshot` lets the `/` SPA fallback hand a request off to
# `ServeDir` from inside an axum handler, so reserved server prefixes can 404
# before the static service ever sees them. Already in the tree via `tower-http`
Expand Down
9 changes: 9 additions & 0 deletions frontend/test/e2e/board-columns.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,15 @@ test("a card dropped into Planning is planned and settled, never left parked", a

const read = async () => (await (await request.get(`${API}/tasks/${id}`)).json()).task;

// First the drop must land: the card was seeded in `todo`, so polling the
Comment thread
senamakel marked this conversation as resolved.
Outdated
Comment thread
senamakel marked this conversation as resolved.
Outdated
// negative before the move reaches the host passes on the seed column and
// the settle read below catches the card back in `planning` mid-pass. Wait
// for the transition into Planning first — the same first step the mock-lane
// test above takes — then wait for the pass to settle it.
await expect
.poll(async () => (await read()).column, { timeout: 15_000 })
.toBe("planning");

// It reached the host and the pass settled it. A card still in `planning`
// when this expires is the real failure this test exists to catch: either the
// drop never landed, or a pass started and never finished.
Expand Down
Loading