This bug was fixed in the package webbrowser-app -
0.23+15.04.20141107-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20141107-0ubuntu1) vivid; urgency=low

  [ Riccardo Padovani ]
  * Enabled swipe gesture to delete a bookmark from the new tab view
    (LP: #1351165)
  * Fixed #1351149 - Opening a page from the history view should do it
    in a new tab (LP: #1351149)

  [ Alexandre Abreu ]
  * Fix AP tests for webapp-container (LP: #1389194)
  * Fix an inconsistent property binding that is mostly more than
    annoying when the override mechanism is used in certain cases (e.g.
    when the override does not directly implement the webview),

  [ Olivier Tilloy ]
  * Adjust the new tab view’s background colour to match the visual
    spec. (LP: #1389610)
  * Clean up the AddressBar component, and convert a number of related
    autopilot tests to QML tests.
  * Update dependency names for QML modules (but keep the old name as
    well for backward compatibility).
 -- Ubuntu daily release <ps-jenk...@lists.canonical.com>   Fri, 07 Nov 2014 
15:44:36 +0000

** Changed in: webbrowser-app (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1389194

Title:
  webapp_container autopilot tests broken since revision 780

Status in Web Browser App:
  In Progress
Status in “webbrowser-app” package in Ubuntu:
  Fix Released

Bug description:
  Since lp:webbrowser-app revision 780, webapp_container autopilot tests won’t 
run.
  There’s a trivial fix for that:

  === modified file 'tests/autopilot/webapp_container/tests/__init__.py'
  --- tests/autopilot/webapp_container/tests/__init__.py        2014-11-03 
18:43:48 +0000
  +++ tests/autopilot/webapp_container/tests/__init__.py        2014-11-04 
11:27:47 +0000
  @@ -41,7 +41,7 @@
   
   class WebappContainerTestCaseBase(AutopilotTestCase):
       def setUp(self):
  -        self.pointing_device = toolkit_emulators.get_pointing_device()
  +        self.pointing_device = uitk.get_pointing_device()
           super(WebappContainerTestCaseBase, self).setUp()
   
       def get_webcontainer_app_path(self):

  
  After applying the fix, tests run, but I’m getting one failure on flo:

  12:46:48.263 INFO _logging:41 - Starting test 
webapp_container.tests.test_redirection_pattern.WebappContainerRedirectionPatternTestCase.test_browse_to_redirection_pattern_url
  12:46:48.269 WARNING testcase:115 - No tracing available - install the 
python-autopilot-trace package!
  12:46:48.291 WARNING testcase:175 - Process manager backend unavailable, 
application snapshot support disabled.
  12:46:48.302 INFO fake_servers:76 - now serving on port 35840
  12:46:48.482 WARNING utilities:263 - WARNING: in file 
"/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in 
launch_webcontainer_app
  This function is deprecated. Please use 'fixtures.EnvironmentVariable' 
instead.

  12:46:48.488 WARNING utilities:263 - WARNING: in file 
"/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in 
launch_webcontainer_app
  This function is deprecated. Please use 'fixtures.EnvironmentVariable' 
instead.

  12:46:48.489 INFO _launcher:373 - Attempting to launch application 
'b'/usr/bin/webapp-container'' with arguments 
'--popup-redirection-url-prefix=http://localhost:35840/redirect?url=([^&]*).* 
http://localhost:35840/get-redirect 
--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal 
process
  12:46:48.532 INFO _launcher:431 - Launching process: 
['/usr/bin/webapp-container', '-testability', 
'--popup-redirection-url-prefix=http://localhost:35840/redirect\?url=([^&]*).*',
 'http://localhost:35840/get-redirect', 
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
  12:46:51.775 INFO _launcher:544 - waiting for process to exit.
  12:46:51.776 INFO _launcher:567 - Killing process 12147
  12:46:52.336 ERROR testresult:44 - ERROR: 
webapp_container.tests.test_redirection_pattern.WebappContainerRedirectionPatternTestCase.test_browse_to_redirection_pattern_url
  12:46:52.353 ERROR testresult:44 - traceback: {{{
  Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/webapp_container/tests/test_redirection_pattern.py",
 line 37, in test_browse_to_redirection_pattern_url
  webview = self.get_oxide_webview()
  File "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", 
line 87, in get_oxide_webview
  return container.select_single('WebViewImplOxide')
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 
244, in select_single
  raise StateNotFoundError(type_name_str, **kwargs)
  autopilot.exceptions.StateNotFoundError: Object not found with name 
'WebViewImplOxide'.

  Tips on minimizing the occurrence of this failureare available here: 
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html
  }}}
  12:46:52.365 ERROR testresult:44 - Binary attachment: "FailedTestScreenshot" 
(image/png)
  12:46:52.369 ERROR testresult:44 - /var/log/syslog: {{{
  }}}
  12:46:52.373 ERROR testresult:44 - process-return-code 
(/usr/bin/webapp-container): {{{
  -15}}}
  12:46:52.376 ERROR testresult:44 - process-stdout 
(/usr/bin/webapp-container): {{{
  }}}
  12:46:52.384 ERROR testresult:44 - process-stderr 
(/usr/bin/webapp-container): {{{
  /usr/bin/webapp-container: invalid option -- 't'
  /usr/bin/webapp-container: invalid option -- 'e'
  /usr/bin/webapp-container: invalid option -- 's'
  /usr/bin/webapp-container: invalid option -- 't'
  /usr/bin/webapp-container: invalid option -- 'a'
  /usr/bin/webapp-container: invalid option -- 'b'
  /usr/bin/webapp-container: invalid option -- 'i'
  /usr/bin/webapp-container: invalid option -- 'l'
  /usr/bin/webapp-container: invalid option -- 'i'
  /usr/bin/webapp-container: invalid option -- 't'
  /usr/bin/webapp-container: invalid option -- 'y'
  /usr/bin/webapp-container: unrecognized option 
'--popup-redirection-url-prefix=http://localhost:35840/redirect?url=([^&]*).*'
  Testability driver loaded. Wire protocol version is "1.4".
  Invalid webapps installation
  Invalid webapps installation
  Using Oxide as the web engine backend
  Empty path in webapps model search path update request
  QQmlExpression: Expression 
file:///usr/share/webbrowser-app/webcontainer/WebApp.qml:171:25 depends on 
non-NOTIFYable properties:
  unity::action::qml::ActionManager::globalContext
  Empty path in webapps model search path update request
  UbuntuWindow::handleSurfaceFocusChange(focused=true)
  UbuntuWindow::handleSurfaceResize(width=1200, height=1862)
  [0100/000000:ERROR:setuid_sandbox_client.cc(181)] Failed to write to chroot 
pipe: Broken pipe
  [0100/000000:FATAL:zygote_main_linux.cc(490)] Check failed: 
EnterSuidSandbox(setuid_sandbox, post_fork_parent_callback). Failed to enter 
setuid sandbox
  }}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/webbrowser-app/+bug/1389194/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to