Skip to content

Commit 34f2eb1

Browse files
authored
test(ios-runner): drop the screenshot-stability window test the trailing-window test subsumes (#2978)
Both tests guard the same `samples.suffix(requiredConsecutiveMatches)` branch of `runnerScreenshotStabilitySettled`. Planting the mutation that replaces the trailing window with the full history turns BOTH red (5 passed -> 2 failed on the simulator lane), and the sibling's input — [1],[2],[9],[9],[9] with a required run of 3 — is a strict superset of the deleted one's [9],x,x,x: an older mismatch before the window plus the settled run itself.
1 parent 6d09dda commit 34f2eb1

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests/RunnerTests+KeyboardTests.swift‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,6 @@ extension RunnerTests {
9494
)
9595
}
9696

97-
func testRunnerScreenshotStabilitySettledTrueWhenWindowMatches() {
98-
let frame = Data([1, 2, 3])
99-
XCTAssertTrue(
100-
runnerScreenshotStabilitySettled([Data([9]), frame, frame, frame], requiredConsecutiveMatches: 3)
101-
)
102-
}
103-
10497
func testRunnerScreenshotStabilitySettledFalseOnMidWindowMismatch() {
10598
// A momentary pause (two matching samples) followed by resumed movement
10699
// must not read as settled: the 3-sample window still spans the mismatch.

0 commit comments

Comments
 (0)