Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/compat/maestro/__tests__/replay-flow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ env:
['type', ['Ada Lovelace']],
[
'__maestroAssertVisible',
['label="Checkout form" || text="Checkout form" || id="Checkout form"', '5000'],
['label="Checkout form" || text="Checkout form" || id="Checkout form"', '7000'],
],
[
'__maestroAssertNotVisible',
Expand Down Expand Up @@ -368,7 +368,7 @@ test('parseMaestroReplayFlow preserves selector state and absolute swipe command
assert.deepEqual(
parsed.actions.map((entry) => [entry.command, entry.positionals]),
[
['__maestroAssertVisible', ['id="shipping-pickup" selected="true"', '5000']],
['__maestroAssertVisible', ['id="shipping-pickup" selected="true"', '7000']],
['swipe', ['100', '500', '100', '200', '300']],
],
);
Expand Down Expand Up @@ -628,7 +628,7 @@ test('parseMaestroReplayFlow keeps retry commands for runtime evaluation', () =>
control.actions.map((entry) => [entry.command, entry.positionals, entry.flags]),
[
['open', ['example://details'], {}],
['__maestroAssertVisible', ['label="Article" || text="Article" || id="Article"', '5000'], {}],
['__maestroAssertVisible', ['label="Article" || text="Article" || id="Article"', '7000'], {}],
],
);
});
Expand Down
2 changes: 1 addition & 1 deletion src/compat/maestro/command-mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const MAP_COMMAND_HANDLERS: Record<string, MaestroCommandHandler> = {
assertVisible: ({ value, context, name }) => [
action(MAESTRO_RUNTIME_COMMAND.assertVisible, [
maestroSelector(value, name, [], context),
'5000',
'7000',
]),
],
assertNotVisible: ({ value, context, name }) => [
Expand Down
2 changes: 1 addition & 1 deletion src/compat/maestro/runtime-assertions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function invokeMaestroAssertVisible(params: {
}): Promise<DaemonResponse> {
const args = readVisibilityAssertionArgs(params.positionals, {
command: 'assertVisible',
defaultTimeoutMs: 5000,
defaultTimeoutMs: 7000,
});
if (!args.ok) return args.response;

Expand Down
Loading