test: drive invader resume from browser boundary
This commit is contained in:
@@ -855,6 +855,21 @@ function comparisonUnificationInvaderResumeTrace(array $request, array $environm
|
||||
'messages' => $invaderMessages,
|
||||
];
|
||||
|
||||
$stopAfterButton = $request['stopAfterButton'] ?? false;
|
||||
if (!is_bool($stopAfterButton)) {
|
||||
throw new \InvalidArgumentException('stopAfterButton must be a boolean');
|
||||
}
|
||||
if ($stopAfterButton) {
|
||||
return [
|
||||
'schemaVersion' => 1,
|
||||
'engine' => 'ref',
|
||||
'action' => 'UnificationInvaderResume',
|
||||
'phase' => 'button',
|
||||
'before' => $before,
|
||||
'buttonSnapshot' => $buttonSnapshot,
|
||||
];
|
||||
}
|
||||
|
||||
// Simulate an autoreset poll that recorded the original unification pause.
|
||||
// A successful event start must replace this stale operational wall anchor.
|
||||
$pausedAnchor = '2000-01-01 00:00:00.000000';
|
||||
|
||||
Reference in New Issue
Block a user