test(profile): cover account modal styling

This commit is contained in:
kate522 committed 2026-10-06 01:51:02 +08:00
1 parent ce429e1caf
commit d8d0b5f290
2 files changed
+9 -1

No files matched your search

@@ -502,7 +502,7 @@ test('profile routes load versioned leaf styles and settings dialogs use the sha
assert.match(settingsBindings, /aksrt-account-list--social/);
assert.match(settingsBindings, /binding-unbind-btn/);
assert.match(userCenterJs, /runtime\.open\(\{/);
assert.match(userCenterJs, /className: 'aksrt-user-settings-modal modal-mini'/);
assert.match(userCenterJs, /className: 'aksrt-user-settings-modal modal-mini full-sm'/);
assert.match(userCenterJs, /mobileBottom: true/);
assert.match(userCenterJs, /onContent: function \(_, session\)/);
assert.match(userCenterJs, /aksrt:modal:close[\s\S]*?resetSettingsModal\(event\.detail && event\.detail\.shell\)/);