@@ -7,18 +7,20 @@
77
88"""Add tests here if you want to ensure everything is aligned correctly on huge screens. Because this test does not fit on most screens, you should not use input devices here or your tests are likely to fail"""
99
10−from testtools.matchers import Equals
1110from autopilot.matchers import Eventually
11+from testtools.matchers import Equals
1212
1313from unity8.shell.tests import ShellTestCase
1414
15−class TestBig(ShellTestCase):
16− def setUp(self):
17− super(TestBig, self).setUp("2560x1600", "20")
18− self.assertThat(self.main_window.get_qml_view().visible, Eventually(Equals(True)))
1915
20− def tearDown(self):
21− super(TestBig, self).tearDown()
16+# TODO: Find out if these tests are still required, if so, what they're supposed
17+# to be testing, and whether they're supposed to work on the devices.
18+class ScreenAlignmentTests(ShellTestCase):
19+ def setUp(self):
20+ super(ScreenAlignmentTests, self).setUp("2560x1600", "20")
21+ self.assertThat(self.main_window.get_qml_view().visible,
22+ Eventually(Equals(True))
23+ )
2224
2325 def test_hud_not_shown_greeter(self):
2426 hud_showable = self.main_window.get_hud_showable()