forked from openlp/openlp
- Started working on test. (This is currently broken, it asks "Are you sure you want to re-run wiz message"), wanted to see if it does it with jenkins.
This commit is contained in:
parent
49dca3a0f9
commit
12b1d64b6a
@ -189,3 +189,16 @@ class TestMainWindow(TestCase, TestMixin):
|
|||||||
# THEN: The media manager dock is made visible
|
# THEN: The media manager dock is made visible
|
||||||
self.assertEqual(0, mocked_media_manager_dock.setVisible.call_count)
|
self.assertEqual(0, mocked_media_manager_dock.setVisible.call_count)
|
||||||
mocked_widget.on_focus.assert_called_with()
|
mocked_widget.on_focus.assert_called_with()
|
||||||
|
|
||||||
|
def on_first_time_wizard_clicked_projectors_visibility_true_test(self):
|
||||||
|
"""
|
||||||
|
Test that the focus is set on the widget when the search shortcut is triggered
|
||||||
|
"""
|
||||||
|
# GIVEN: A build main window set up for testing
|
||||||
|
|
||||||
|
|
||||||
|
# WHEN: The search shortcut is triggered
|
||||||
|
self.main_window.on_first_time_wizard_clicked()
|
||||||
|
|
||||||
|
# THEN: The media manager dock is made visible
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user