Skip to content

Commit 0fa2b2a

Browse files
committed
ci: make Omarchy navigation single-shot
1 parent b4bdc68 commit 0fa2b2a

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎tests/midscene/e2e/omarchy-onboarding.test.ts‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ describe.skipIf(process.env.OMARCHY_E2E !== 'true')(
6868
'Verify the Omarchy desktop visibly contains the Doubao Say window on the Microphone step with a Next button in its fixed top navigation.',
6969
);
7070
await agent.aiAct(
71-
'Click Next in the Doubao Say fixed top navigation and wait until the current step is Trigger key.',
71+
'Click Next in the Doubao Say fixed top navigation exactly once, then stop immediately. ' +
72+
'Do not click Next a second time and do not wait for or verify the page transition.',
73+
);
74+
await agent.aiAct(
75+
'Verify the current Doubao Say step is Trigger key. Do not click Previous or Next.',
7276
);
7377
await agent.aiAct(
7478
'Stay on the Trigger key step and do not click Previous or Next. Scroll down inside the light-gray central content panel until the Voice polishing heading and its controls are visible.',
@@ -80,7 +84,11 @@ describe.skipIf(process.env.OMARCHY_E2E !== 'true')(
8084
'Verify a visible message says the endpoint works and includes Synthetic endpoint response.',
8185
);
8286
await agent.aiAct(
83-
'Click Next in the fixed top navigation and wait for the Voice test step.',
87+
'Click Next in the fixed top navigation exactly once, then stop immediately. ' +
88+
'Do not click Next a second time and do not wait for or verify the page transition.',
89+
);
90+
await agent.aiAct(
91+
'Verify the current Doubao Say step is Voice test. Do not click Previous or Next.',
8492
);
8593
await agent.aiAct(
8694
'Verify the Voice test heading and introductory text are visible near the top of the content, proving that navigation reset the previous scroll position.',

0 commit comments

Comments
 (0)