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

(maka) branch feat/maka-browser-recovery-dialogs updated: test(desktop): keep dialog assertions behavioral

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

M4n5ter pushed a commit to branch feat/maka-browser-recovery-dialogs
in repository https://gitbox.apache.org/repos/asf/maka.git


The following commit(s) were added to refs/heads/feat/maka-browser-recovery-dialogs by this push:
     new b98013202f test(desktop): keep dialog assertions behavioral
b98013202f is described below

commit b98013202f2980376e0f3f12badd6a450ad911d1
Author: Wang <m4...@gmail.com>
AuthorDate: Tue Sep 1 22:02:23 2026 +0800

    test(desktop): keep dialog assertions behavioral
    
    Generated-by: OpenAI Codex
---
 apps/desktop/src/main/__tests__/browser-message-box.test.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/desktop/src/main/__tests__/browser-message-box.test.ts b/apps/desktop/src/main/__tests__/browser-message-box.test.ts
index e9994e0329..9e2b54b986 100644
--- a/apps/desktop/src/main/__tests__/browser-message-box.test.ts
+++ b/apps/desktop/src/main/__tests__/browser-message-box.test.ts
@@ -89,7 +89,7 @@ test('renders escaped content with Maka dialog tokens and safe action ordering',
   const actionPosition = html.indexOf('>Replace &lt;Host&gt;</button>');
   assert.ok(cancelPosition >= 0 && cancelPosition < copyPosition);
   assert.ok(copyPosition < actionPosition);
-  assert.match(html, /class="decision primary"[^>]*data-response="0" autofocus/u);
+  assert.match(html, /data-response="0" autofocus/u);
   assert.match(html, /default-src 'none'/u);
 });
 


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