You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/09/12 08:16:02 UTC

(maka) branch test/5184-geometry-ablation updated: test(ui): allow deferred markdown to settle before accessibility audit

This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch test/5184-geometry-ablation
in repository https://gitbox.apache.org/repos/asf/maka.git


The following commit(s) were added to refs/heads/test/5184-geometry-ablation by this push:
     new 250bb050a4 test(ui): allow deferred markdown to settle before accessibility audit
250bb050a4 is described below

commit 250bb050a4a76e6490ab1485486f64fcc9750129
Author: AstroHan <le...@outlook.com>
AuthorDate: Sat Sep 12 16:15:58 2026 +0800

    test(ui): allow deferred markdown to settle before accessibility audit
---
 apps/desktop/stories/app-shell.stories.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/apps/desktop/stories/app-shell.stories.tsx b/apps/desktop/stories/app-shell.stories.tsx
index 455e10d11e..233d7cfa13 100644
--- a/apps/desktop/stories/app-shell.stories.tsx
+++ b/apps/desktop/stories/app-shell.stories.tsx
@@ -2548,7 +2548,10 @@ export const GeometryMixed24Turns: Story = {
   }).flat(), hasOlderHistory: false, hasNewerHistory: false }} />,
   play: async ({ canvasElement }) => {
     // Audit every code block after deferred Markdown has replaced its placeholder.
-    await waitFor(() => expect(within(canvasElement).getAllByRole('button', { name: '复制代码' })).toHaveLength(4));
+    await waitFor(
+      () => expect(within(canvasElement).getAllByRole('button', { name: '复制代码' })).toHaveLength(4),
+      { timeout: 10_000 },
+    );
   },
 };
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org