Launch Autopilot fake applications with ubuntu-app-launch
Bug #1305190 reported by
Leo Arias
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
High
|
Leo Arias |
Bug Description
According to saviq: We need to get rid of the desktop_file_hint workaround rather sooner than later..
Autopilot now has helpers to launch the test app with ubuntu app launch, so we should use that instead.
Related branches
lp://qastaging/~canonical-platform-qa/ubuntu-ui-toolkit/fix1305190-ubuntu-app-launch
On hold
for merging
into
lp://qastaging/ubuntu-ui-toolkit/staging
- Cris Dywan: Needs Information
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 254 lines (+66/-98)2 files modifiedtests/autopilot/ubuntuuitoolkit/tests/__init__.py (+9/-57)
tests/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py (+57/-41)
Superseded
for merging
into
lp://qastaging/ubuntu-ui-toolkit
- Ubuntu SDK team: Pending requested
-
Diff: 1815 lines (+536/-212)67 files modifiedcomponents.api (+1/-1)
documentation/ubuntu-theming.qdoc (+13/-7)
modules/Ubuntu/Components/1.1/Button.qml (+1/-1)
modules/Ubuntu/Components/1.3/ActionBar.qml (+1/-1)
modules/Ubuntu/Components/1.3/ActivityIndicator.qml (+1/-1)
modules/Ubuntu/Components/1.3/AppHeader.qml (+1/-2)
modules/Ubuntu/Components/1.3/Button.qml (+1/-1)
modules/Ubuntu/Components/1.3/CheckBox.qml (+1/-1)
modules/Ubuntu/Components/1.3/ComboButton.qml (+1/-1)
modules/Ubuntu/Components/1.3/MainViewBase.qml (+1/-1)
modules/Ubuntu/Components/1.3/OptionSelector.qml (+1/-1)
modules/Ubuntu/Components/1.3/ProgressBar.qml (+1/-1)
modules/Ubuntu/Components/1.3/PullToRefresh.qml (+1/-1)
modules/Ubuntu/Components/1.3/Scrollbar.qml (+1/-1)
modules/Ubuntu/Components/1.3/Slider.qml (+1/-1)
modules/Ubuntu/Components/1.3/Switch.qml (+1/-1)
modules/Ubuntu/Components/1.3/TabBar.qml (+1/-1)
modules/Ubuntu/Components/1.3/TextArea.qml (+1/-1)
modules/Ubuntu/Components/1.3/TextCursor.qml (+1/-1)
modules/Ubuntu/Components/1.3/TextField.qml (+1/-1)
modules/Ubuntu/Components/1.3/TextInputPopover.qml (+1/-1)
modules/Ubuntu/Components/1.3/Toolbar.qml (+1/-1)
modules/Ubuntu/Components/1.3/ToolbarButton.qml (+1/-1)
modules/Ubuntu/Components/ListItems/1.2/Caption.qml (+9/-3)
modules/Ubuntu/Components/ListItems/1.3/Caption.qml (+9/-3)
modules/Ubuntu/Components/ListItems/1.3/ItemSelector.qml (+1/-1)
modules/Ubuntu/Components/ListItems/1.3/ProgressionVisual.qml (+1/-1)
modules/Ubuntu/Components/Pickers/1.3/DatePicker.qml (+1/-1)
modules/Ubuntu/Components/Pickers/1.3/Dialer.qml (+1/-1)
modules/Ubuntu/Components/Pickers/1.3/DialerHand.qml (+1/-1)
modules/Ubuntu/Components/Pickers/1.3/Picker.qml (+1/-1)
modules/Ubuntu/Components/Pickers/1.3/PickerDelegate.qml (+1/-1)
modules/Ubuntu/Components/Popups/1.3/Dialog.qml (+1/-1)
modules/Ubuntu/Components/Popups/1.3/Popover.qml (+1/-1)
modules/Ubuntu/Components/Popups/1.3/SheetBase.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/1.3/ActionBarStyle.qml (+6/-4)
modules/Ubuntu/Components/Themes/Ambiance/1.3/IconButtonStyle.qml (+80/-0)
modules/Ubuntu/Components/Themes/Ambiance/1.3/PageHeadButton.qml (+1/-0)
modules/Ubuntu/Components/Themes/Ambiance/1.3/PageHeadStyle.qml (+1/-1)
modules/Ubuntu/Components/plugin/plugin.cpp (+1/-0)
modules/Ubuntu/Components/plugin/ucdeprecatedtheme.cpp (+9/-0)
modules/Ubuntu/Components/plugin/uclistitem.cpp (+21/-29)
modules/Ubuntu/Components/plugin/uclistitem_p.h (+1/-2)
modules/Ubuntu/Components/plugin/ucstyleditembase.cpp (+125/-34)
modules/Ubuntu/Components/plugin/ucstyleditembase.h (+4/-1)
modules/Ubuntu/Components/plugin/ucstyleditembase_p.h (+8/-9)
modules/Ubuntu/Components/plugin/uctheme.cpp (+16/-14)
modules/Ubuntu/Components/plugin/uctheme.h (+1/-2)
tests/autopilot/ubuntuuitoolkit/tests/__init__.py (+4/-29)
tests/resources/navigation/tabs.qml (+2/-2)
tests/unit/tst_performance/PaletteConfigurationAllColors.qml (+1/-1)
tests/unit/tst_performance/PaletteConfigurationOneColor.qml (+1/-1)
tests/unit_x11/tst_components/tst_actionbar.qml (+1/-1)
tests/unit_x11/tst_components/tst_header_presets.qml (+8/-1)
tests/unit_x11/tst_subtheming/DeprecatedTheme.qml (+1/-1)
tests/unit_x11/tst_subtheming/SimpleItem.qml (+2/-6)
tests/unit_x11/tst_subtheming/StyleKept.qml (+43/-0)
tests/unit_x11/tst_subtheming/StyleOverride.qml (+46/-0)
tests/unit_x11/tst_subtheming/StyledItemAppThemeFallback.qml (+1/-1)
tests/unit_x11/tst_subtheming/StyledItemAppThemeVersioned.qml (+1/-1)
tests/unit_x11/tst_subtheming/StyledItemFallback.qml (+1/-1)
tests/unit_x11/tst_subtheming/StyledItemV12.qml (+1/-1)
tests/unit_x11/tst_subtheming/StyledItemV13.qml (+1/-1)
tests/unit_x11/tst_subtheming/themes/TestModule/TestTheme/1.2/TestStyle.qml (+1/-0)
tests/unit_x11/tst_subtheming/themes/TestModule/TestTheme/1.3/TestStyle.qml (+1/-0)
tests/unit_x11/tst_subtheming/tst_subtheming.cpp (+80/-22)
tests/unit_x11/tst_subtheming/tst_subtheming.pro (+3/-1)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Leo Arias (elopio) |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
summary: |
- We should launch the fake appplications for the tests with upstart + Launch Autopilot fake applications with upstart |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Leo Arias (elopio) |
importance: | Undecided → Medium |
status: | New → Confirmed |
no longer affects: | ubuntu-ui-toolkit |
summary: |
- Launch Autopilot fake applications with upstart + Launch Autopilot fake applications with ubuntu-app-launch |
description: | updated |
To post a comment you must log in.
I just got confused by this… it prevents me from writing a file-based testcase (which is most of the new tests we write) for testing URIHandler which requires uri's to be passed, a feature that's not supported by launch_ test_applicatio n().