Commit Graph

2 Commits

Author SHA1 Message Date
dkmvs 5e417ee09d Add Tests for `Keybinding>Preferences`
The test in this commit checks that editing a key binding using a predefined
key combination produces the expected accelerator.
2020-09-18 03:45:31 +03:00
dkmvs 1b5b584669 Add Tests for `Preferences>Keybidings`
This commit adds tests that check that:
1) Default key binding accelerators are distinct.
2) Message dialog appears when a duplicate key binding accelerator is
attempted to be assigned to a different action.
3) Duplicate key binding accelerator cannot refer to more than one action.

Also, `active_message_dialog` attribute was added to `PrefsEditor`, so
that tests could get a reference to a message dialog window.
2020-09-02 16:39:20 +03:00