Skip to content

Commit 69c67c7

Browse files
committed
chore(tests): drop runner payloads no test consumes
Five of the runner-side snapshot payloads here have no consumer anywhere in the tree, and fallow reports them as dead exports because this stack changes the file. Deleted rather than suppressed or de-exported into unused locals: the two that remain are the ones the provider-transcript scenarios actually read.
1 parent 0a59df0 commit 69c67c7

1 file changed

Lines changed: 0 additions & 104 deletions

File tree

‎test/integration/interaction-contract/fixtures.ts‎

Lines changed: 0 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -346,34 +346,6 @@ export function runnerPresentedDragEndpointsNodes(): RawSnapshotNode[] {
346346
* provider-transcript scenarios.
347347
*/
348348

349-
export const RUNNER_EQUIVALENT_WRAPPER_NODES = [
350-
{ index: 0, type: 'Application', rect: { x: 0, y: 0, width: 390, height: 844 } },
351-
{
352-
index: 1,
353-
parentIndex: 0,
354-
type: 'Cell',
355-
label: 'Chat',
356-
rect: { x: 20, y: 740, width: 100, height: 50 },
357-
hittable: false,
358-
},
359-
{
360-
index: 2,
361-
parentIndex: 1,
362-
type: 'Button',
363-
label: 'Chat',
364-
rect: { x: 20, y: 740, width: 100, height: 50 },
365-
hittable: true,
366-
},
367-
{
368-
index: 3,
369-
parentIndex: 2,
370-
type: 'StaticText',
371-
label: 'Chat',
372-
rect: { x: 20, y: 740, width: 100, height: 50 },
373-
hittable: false,
374-
},
375-
];
376-
377349
export const RUNNER_CONTINUE_NODES = [
378350
{
379351
index: 0,
@@ -391,82 +363,6 @@ export const RUNNER_CONTINUE_NODES = [
391363
},
392364
] as const;
393365

394-
export const RUNNER_CHANGED_NODES = [
395-
{
396-
index: 0,
397-
type: 'Application',
398-
label: 'Example',
399-
rect: { x: 0, y: 0, width: 400, height: 800 },
400-
},
401-
{
402-
index: 1,
403-
parentIndex: 0,
404-
type: 'StaticText',
405-
label: 'Welcome!',
406-
rect: { x: 100, y: 300, width: 200, height: 44 },
407-
},
408-
] as const;
409-
410-
// Runner-side closed drawer: the only match is off-screen, so the runtime
411-
// fallback path must refuse it instead of tapping out-of-viewport coordinates.
412-
export const RUNNER_CLOSED_DRAWER_NODES = [
413-
{
414-
index: 0,
415-
type: 'Application',
416-
label: 'Example',
417-
rect: { x: 0, y: 0, width: 400, height: 800 },
418-
},
419-
{
420-
index: 1,
421-
parentIndex: 0,
422-
type: 'Button',
423-
label: 'Explore',
424-
hittable: true,
425-
rect: { x: -320, y: 240, width: 300, height: 50 },
426-
},
427-
] as const;
428-
429-
// Runner-side covered control (#1091 delegation): the runner skips it as
430-
// non-hittable (ELEMENT_NOT_FOUND) and the runtime fallback must refuse with
431-
// the covered shape instead of tapping through the overlay.
432-
export const RUNNER_COVERED_NODES = [
433-
{
434-
index: 0,
435-
type: 'Application',
436-
label: 'Example',
437-
rect: { x: 0, y: 0, width: 400, height: 800 },
438-
},
439-
{
440-
index: 1,
441-
parentIndex: 0,
442-
type: 'Button',
443-
label: 'Save draft',
444-
hittable: false,
445-
interactionBlocked: 'covered',
446-
rect: { x: 16, y: 700, width: 140, height: 44 },
447-
},
448-
] as const;
449-
450-
// Runner-side visible-but-non-hittable cell (#1037 shape): the runner reports
451-
// ELEMENT_NOT_FOUND, the runtime fallback proceeds by coordinates and
452-
// annotates the result instead of failing.
453-
export const RUNNER_NON_HITTABLE_NODES = [
454-
{
455-
index: 0,
456-
type: 'Application',
457-
label: 'Example',
458-
rect: { x: 0, y: 0, width: 400, height: 800 },
459-
},
460-
{
461-
index: 1,
462-
parentIndex: 0,
463-
type: 'Cell',
464-
label: 'Recents row',
465-
hittable: false,
466-
rect: { x: 20, y: 300, width: 360, height: 60 },
467-
},
468-
] as const;
469-
470366
export const RUNNER_NON_HITTABLE_TEXT_INPUT_NODES = [
471367
{
472368
index: 0,

0 commit comments

Comments
 (0)