fix(web-probe): wait for mdtodo DOM before sentinel screenshots
This commit is contained in:
@@ -204,6 +204,7 @@ export interface NodeWebProbeObserveOptions {
|
||||
commandExpectedSentinelRange: string | null;
|
||||
commandExpectedActionWaitMs: number | null;
|
||||
commandRequireComposerReady: boolean;
|
||||
commandWaitProjectManagementReady: boolean;
|
||||
commandFindingId: string | null;
|
||||
commandBlocking: boolean | null;
|
||||
commandAccountId: string | null;
|
||||
|
||||
@@ -278,7 +278,7 @@ export function parseNodeWebProbeObserveOptions(
|
||||
"--workspace-root",
|
||||
"--workspace-root-ref",
|
||||
"--root",
|
||||
]), new Set(["--force", "--full", "--raw", "--text-stdin", "--require-composer-ready", "--blocking", "--non-blocking"]));
|
||||
]), new Set(["--force", "--full", "--raw", "--text-stdin", "--require-composer-ready", "--wait-project-management-ready", "--blocking", "--non-blocking"]));
|
||||
const commandTypeRaw = optionValue(args, "--type") ?? null;
|
||||
const commandType = commandTypeRaw === null ? null : parseNodeWebProbeObserveCommandType(commandTypeRaw);
|
||||
const stateDir = optionValue(args, "--state-dir") ?? indexed?.stateDir ?? null;
|
||||
@@ -431,6 +431,7 @@ export function parseNodeWebProbeObserveOptions(
|
||||
commandExpectedSentinelRange,
|
||||
commandExpectedActionWaitMs,
|
||||
commandRequireComposerReady: args.includes("--require-composer-ready"),
|
||||
commandWaitProjectManagementReady: args.includes("--wait-project-management-ready"),
|
||||
commandFindingId,
|
||||
commandBlocking,
|
||||
commandAccountId,
|
||||
@@ -1500,6 +1501,7 @@ export function runNodeWebProbeObserveCommand(options: NodeWebProbeObserveOption
|
||||
expectedSentinelRange: options.commandExpectedSentinelRange,
|
||||
expectedActionWaitMs: options.commandExpectedActionWaitMs,
|
||||
requireComposerReady: options.commandRequireComposerReady,
|
||||
waitProjectManagementReady: options.commandWaitProjectManagementReady,
|
||||
findingId: options.commandFindingId,
|
||||
blocking: options.commandBlocking,
|
||||
accountId: options.commandAccountId,
|
||||
|
||||
Reference in New Issue
Block a user