webbrowser_app.tests.test_selection.TestSelection.* flaky since oxide 1.8
Bug #1485984 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
Since the upgrade to oxide 1.8, the webbrowser_
An example failure (from a CI run on mako): https:/
Related branches
lp:~osomon/webbrowser-app/oxide-context-menu
- Ken VanDine: Approve
- Ugo Riboni (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 2579 lines (+1390/-690)34 files modifieddebian/control (+2/-12)
debian/qtdeclarative5-ubuntu-web-plugin-assets.install (+0/-1)
debian/rules (+0/-4)
doc/WebView.qdoc (+44/-5)
src/Ubuntu/Web/CMakeLists.txt (+0/-3)
src/Ubuntu/Web/Selection.qml (+0/-161)
src/Ubuntu/Web/SelectionHandle.qml (+0/-47)
src/Ubuntu/Web/UbuntuWebView02.qml (+60/-156)
src/Ubuntu/Web/selection02.js (+2/-131)
src/app/CMakeLists.txt (+1/-0)
src/app/FileExtensionMapper.js (+11/-7)
src/app/FilePickerDialog.qml (+2/-2)
src/app/WebViewImpl.qml (+20/-9)
src/app/actions/Cut.qml (+23/-0)
src/app/actions/Erase.qml (+23/-0)
src/app/actions/Paste.qml (+23/-0)
src/app/actions/Redo.qml (+23/-0)
src/app/actions/SaveLink.qml (+23/-0)
src/app/actions/SelectAll.qml (+23/-0)
src/app/actions/Undo.qml (+23/-0)
src/app/browserapplication.cpp (+9/-0)
src/app/mime-database.cpp (+33/-0)
src/app/mime-database.h (+39/-0)
src/app/webbrowser/Browser.qml (+103/-26)
src/app/webbrowser/ContextMenuMobile.qml (+168/-0)
src/app/webbrowser/ContextMenuWide.qml (+158/-0)
src/app/webbrowser/assets/stock_link.svg (+164/-0)
src/app/webcontainer/WebViewImplOxide.qml (+42/-5)
tests/autopilot/webbrowser_app/emulators/browser.py (+33/-16)
tests/autopilot/webbrowser_app/tests/http_server.py (+28/-0)
tests/autopilot/webbrowser_app/tests/test_contextmenu.py (+177/-0)
tests/autopilot/webbrowser_app/tests/test_selection.py (+0/-92)
tests/unittests/qml/tst_FileExtensionMapper.qml (+39/-0)
tests/unittests/qml/tst_UbuntuWebView02.qml (+94/-13)
Changed in webbrowser-app (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
stderr:
OxideQQuickLoca tionBarControll er::show: height is not greater than zero /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Web/ua- overrides- mobile. js test/favicon. ico" ) : "Host test not found" :Show: Content requested a context menu, but the application hasn't provided one
qml: Loaded 5 UA override(s) from file://
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Failed to download QUrl( "http://
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
WebContextMenu:
test log:
08:44:12.329 WARNING testcase:181 - Process manager backend unavailable, application snapshot support disabled. file_hint= /usr/share/ applications/ webbrowser- app.desktop --new-session http:// test/selection' as a normal process bin/webbrowser- app', '-testability', '--desktop_ file_hint= /usr/share/ applications/ webbrowser- app.desktop' , '--new-session', 'http:// test/selection']
08:44:12.341 INFO _launcher:373 - Attempting to launch application 'webbrowser-app' with arguments '--desktop_
08:44:12.377 INFO _launcher:431 - Launching process: ['/usr/
08:44:23.194 INFO http_server:162 - "GET /selection HTTP/1.1" 200 -
08:44:37.564 INFO _launcher:544 - waiting for process to exit.
08:44:37.565 INFO _launcher:567 - Killing process 5784
traceback:
Traceback (most recent call last): python3/ dist-packages/ webbrowser_ app/tests/ test_selection. py", line 37, in setUp window. get_selection( ) python3/ dist-packages/ webbrowser_ app/emulators/ browser. py", line 119, in get_selection select_ single( Selection) python3/ dist-packages/ autopilot/ introspection/ dbus.py" , line 295, in wait_select_single single( type_name, **kwargs) python3/ dist-packages/ autopilot/ introspection/ dbus.py" , line 244, in select_single ror(type_ name_str, **kwargs) exceptions. StateNotFoundEr ror: Object not found with name 'Selection'.
File "/usr/lib/
self.selection = self.main_
File "/usr/lib/
return self.wait_
File "/usr/lib/
return self.select_
File "/usr/lib/
raise StateNotFoundEr
autopilot.