Merge lp:~osomon/webbrowser-app/skip-keyboard-ap-tests-webcontainer-1611832 into lp:webbrowser-app

Proposed by Olivier Tilloy
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 1515
Merged at revision: 1523
Proposed branch: lp:~osomon/webbrowser-app/skip-keyboard-ap-tests-webcontainer-1611832
Merge into: lp:webbrowser-app
Prerequisite: lp:~osomon/webbrowser-app/relax-test-expectation-1611403
Diff against target: 38 lines (+6/-1)
1 file modified
tests/autopilot/webapp_container/tests/test_chrome.py (+6/-1)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/skip-keyboard-ap-tests-webcontainer-1611832
Reviewer Review Type Date Requested Status
Alexandre Abreu (community) Approve
system-apps-ci-bot continuous-integration Approve
Review via email: mp+302572@code.launchpad.net

Commit message

Skip webapp container autopilot tests that exercise keyboard shortcuts when not run on desktop.

To post a comment you must log in.
Revision history for this message
system-apps-ci-bot (system-apps-ci-bot) wrote :

PASSED: Continuous integration, rev:1515
https://jenkins.canonical.com/system-apps/job/lp-webbrowser-app-ci/597/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build/1171
    SUCCESS: https://jenkins.canonical.com/system-apps/job/test-0-autopkgtest/label=phone-armhf,release=vivid+overlay,testname=default/243
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-0-fetch/1171
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-1-sourcepkg/release=vivid+overlay/1052
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-1-sourcepkg/release=xenial+overlay/1052
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-1-sourcepkg/release=yakkety/1052
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=xenial+overlay/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=xenial+overlay/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=yakkety/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=yakkety/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=xenial+overlay/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=xenial+overlay/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=yakkety/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=yakkety/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=vivid+overlay/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=vivid+overlay/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=xenial+overlay/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=xenial+overlay/1041/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=yakkety/1041
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=yakkety/1041/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/system-apps/job/lp-webbrowser-app-ci/597/rebuild

review: Approve (continuous-integration)
Revision history for this message
Alexandre Abreu (abreu-alexandre) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/webapp_container/tests/test_chrome.py'
2--- tests/autopilot/webapp_container/tests/test_chrome.py 2016-06-21 04:44:57 +0000
3+++ tests/autopilot/webapp_container/tests/test_chrome.py 2016-08-10 16:10:00 +0000
4@@ -1,5 +1,5 @@
5 # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
6-# Copyright 2014-2015 Canonical
7+# Copyright 2014-2016 Canonical
8 #
9 # This program is free software: you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License version 3, as published
11@@ -13,8 +13,11 @@
12 # You should have received a copy of the GNU General Public License
13 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14
15+import testtools
16+
17 from testtools.matchers import Equals, GreaterThan
18 from autopilot.matchers import Eventually
19+from autopilot.platform import model
20
21 from webapp_container.tests import WebappContainerTestCaseWithLocalContentBase
22
23@@ -52,6 +55,7 @@
24 def press_key(self, key):
25 self.keyboard.press_and_release(key)
26
27+ @testtools.skipIf(model() != "Desktop", "on desktop only")
28 def test_shortcut_backforward(self):
29 args = [""]
30 self.launch_webcontainer_app_with_local_http_server(args)
31@@ -72,6 +76,7 @@
32 self.assertThat(lambda: self.get_oxide_webview().url,
33 Eventually(Equals(url2)))
34
35+ @testtools.skipIf(model() != "Desktop", "on desktop only")
36 def test_shortcut_reload(self):
37 args = ['']
38 self.launch_webcontainer_app_with_local_http_server(args)

Subscribers

People subscribed via source and target branches

to status/vote changes: