1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
# Copyright 2013 Canonical
4
# This program is free software: you can redistribute it and/or modify it
5
# under the terms of the GNU General Public License version 3, as published
6
# by the Free Software Foundation.
8
"""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"""
10
from testtools.matchers import Equals
11
from autopilot.matchers import Eventually
13
from unity8.tests import ShellTestCase
15
class TestBig(ShellTestCase):
17
super(TestBig, self).setUp("2560x1600", "20")
18
self.assertThat(self.main_window.get_qml_view().visible, Eventually(Equals(True)))
21
super(TestBig, self).tearDown()
23
def test_hud_not_shown_greeter(self):
24
hud_showable = self.main_window.get_hud_showable()
25
self.assertThat(hud_showable.y, Eventually(Equals(1600)))