~jfmoy/webbrowser-app/twitter-android-prompt

« back to all changes in this revision

Viewing changes to tests/autopilot/webbrowser_app/tests/test_fullscreen.py

  • Committer: CI bot
  • Author(s): Olivier Tilloy
  • Date: 2014-10-08 09:23:04 UTC
  • mfrom: (749.3.1 webbrowser-app)
  • Revision ID: ps-jenkins@lists.canonical.com-20141008092304-z4176cep2lpv0qyc
Remove the temporary workaround for bug #1328839 as fullscreen switching is now fully functional in qtubuntu. Fixes: 1328839
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from testtools.matchers import Equals, LessThan
20
20
from autopilot.matchers import Eventually
21
 
from autopilot.platform import model
22
21
 
23
22
 
24
23
class TestFullscreen(StartOpenRemotePageTestCaseBase):
35
34
    def assert_eventually_fullscreen(self):
36
35
        self.assertThat(self.main_window.get_current_webview().fullscreen,
37
36
                        Eventually(Equals(True)))
38
 
        if model() != 'Desktop':
39
 
            # XXX: do not assert that the window is fullscreen
40
 
            # on devices due to the temporary workaround for
41
 
            # https://bugs.launchpad.net/unity8/+bug/1328839
42
 
            return
43
37
        self.assertThat(self.main_window.get_window().visibility,
44
38
                        Eventually(Equals(self.QWINDOW_FULLSCREEN)))
45
39