← Back to team overview

touch-packages team mailing list archive

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

 

I cannot reproduce the issue by manually executing the test case in the
same vivid VM that reproduces it when running the autopilot test. There
is no apparent difference in the automated test and the steps I’m taking
to reproduce:

 - launch webbrowser-app, wait for page to be loaded
 - click in the address bar to focus it, the entire address is selected (no context menu shown)
 - move the cursor to the center of the reload icon, click

(see http://bazaar.launchpad.net/~phablet-team/webbrowser-
app/trunk/view/head:/tests/autopilot/webbrowser_app/tests/test_addressbar_states.py#L46
for the automated test code)

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

Title:
  test_looses_focus_when_reloading fails when run on desktop

Status in Web Browser App:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Recently, the otto tests started runnning successfully again for the
  webbrowser-app CI job (they had been broken for a long time).

  Now they all pass but one:

  webbrowser_app.tests.test_addressbar_states.TestAddressBarStates.test_looses_focus_when_reloading

  I’m attaching the test result output as well as a video capture of
  what happens when the test is run.

  It appears that clicking the reload button in the address bar doesn’t
  activate the reload action, but instead shows the contextual menu as
  if the click had gone through to the TextField below.

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