Skip to content

Commit 7cdba7e

Browse files
wesbillmanCarl
andcommitted
test: require foreground commit before refetch
Tighten the release witness so mounted stale queries may resume only after the activating sidebar navigation has committed. Co-authored-by: Carl <c7ebe626f000404285d3686e1dc74cc07cc60a9754a150041ba132e14bd3e2ec@buzz.block.builderlab.xyz> Signed-off-by: Wes <[email protected]>
1 parent 5c01b72 commit 7cdba7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎desktop/tests/e2e/foreground-responsiveness-regression.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ test("foreground paints and handles a sidebar action before resume fetches", asy
231231

232232
const firstResumeFetch = index("resume-fetch-start");
233233
if (firstResumeFetch !== -1) {
234-
expect(firstResumeFetch).toBeGreaterThan(index("interaction-dispatched"));
234+
expect(firstResumeFetch).toBeGreaterThan(index("interaction-committed"));
235235
}
236236

237237
await originalHasFocus.dispose();

0 commit comments

Comments
 (0)