feat: apply visible three-second defaults to unattended prompts
This commit is contained in:
1 parent
e4875b4eca
commit
efb8cae478
29 files changed
+675
-60
No files matched your search
@@ -47,7 +47,7 @@ def test_explicit_open_dialog_defaults_to_cancel(qtbot):
|
||||
from cbb_refresh_verify.ui.pcb_open_dialog import PcbOpenDialog
|
||||
choice=OpenChoice('A','lib.lmc')
|
||||
dialog=PcbOpenDialog(choice);qtbot.addWidget(dialog)
|
||||
assert dialog.defaultButton() is dialog.cancel_button
|
||||
assert dialog.defaultButton() is dialog.skip_button
|
||||
dialog.skip_button.click()
|
||||
assert choice.decision=='skip'
|
||||
|
||||
|
||||
Reference in new issue
Block a user