Merge lp://qastaging/~canonical-platform-qa/ubuntu-ui-toolkit/fix1305190-ubuntu-app-launch into lp://qastaging/ubuntu-ui-toolkit/staging

Proposed by Leo Arias
Status: Work in progress
Proposed branch: lp://qastaging/~canonical-platform-qa/ubuntu-ui-toolkit/fix1305190-ubuntu-app-launch
Merge into: lp://qastaging/ubuntu-ui-toolkit/staging
Prerequisite: lp://qastaging/~canonical-platform-qa/ubuntu-ui-toolkit/test_launcher
Diff against target: 254 lines (+66/-98)
2 files modified
tests/autopilot/ubuntuuitoolkit/tests/__init__.py (+9/-57)
tests/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py (+57/-41)
To merge this branch: bzr merge lp://qastaging/~canonical-platform-qa/ubuntu-ui-toolkit/fix1305190-ubuntu-app-launch
Reviewer Review Type Date Requested Status
Cris Dywan Needs Information
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+260734@code.qastaging.launchpad.net

This proposal supersedes a proposal from 2015-06-01.

Description of the change

Ready for a review now.

This branch uses ubuntu-app-launch everywhere, except when launching the gallery from source. That would need to edit the desktop file, which should be a branch on its own. Also, the gallery is not harming us in any way, so not critical.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Cris Dywan (kalikiana) wrote :

+ '--desktop_file_hint={0}'.format(desktop_file_path)

The bug description expressly says "We need to get rid of the desktop_file_hint workaround rather sooner than later" - what's the plan now?

review: Needs Information
Revision history for this message
Cris Dywan (kalikiana) wrote :

I'm fine with leaving the gallery for later. The branch seems fine then, pending test results passing.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Cris Dywan (kalikiana) wrote :

_StringException: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/gallery/__init__.py", line 40, in setUp
    self.test_source_path = self._get_test_source_path()
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/gallery/__init__.py", line 112, in _get_test_source_path
    assert os.path.exists(test_source_path)
AssertionError

review: Needs Fixing
1530. By Leo Arias

Fixed the test source path.

Revision history for this message
Leo Arias (elopio) wrote :

damn it, I screwed up with the launching from source. Fixing...

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Leo Arias (elopio) wrote :

The phone is dying after running some tests:

http://people.ubuntu.com/~elopio/screenshots/IMG_20150604_081409.jpg

I'll try to debug why, but it just seems that we are using upstart too much :(

Revision history for this message
Cris Dywan (kalikiana) wrote :

What's the state of this?

review: Needs Information

Unmerged revisions

1530. By Leo Arias

Fixed the test source path.

1529. By Leo Arias

Merged with prerequisite.

1528. By Leo Arias

Removed the unused methods.

1527. By Leo Arias

Simplified the gallery tests by launching the installed ones with upstart.

1526. By Leo Arias

Use always the toolkit test launcher.

1525. By Leo Arias

Moved the launch qml file to the gallery tests.

1524. By Leo Arias

Moved the pointing device to the base class.

1523. By Leo Arias

Use UbuntuUIToolkitWithFakeAppRunningTestCase as the base class for all the toolkit autopilot tests.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches