autopilot-users team mailing list archive
-
autopilot-users team
-
Mailing list archive
-
Message #00011
Re: [Ubuntu-touch-coreapps] music-app testcase RuntimeError: Search criteria returned no results
John,
Bug #1204711 [1] had been previously written to fix the mismatch you are
seeing.
[1] https://bugs.launchpad.net/bugs/1204711
Victor
On Jul 24, 2013 11:11 PM, "John Kim" <johnkim.ubuntu@xxxxxxxxx> wrote:
> On 07/24/2013 08:54 PM, Victor Thompson wrote:
>
> John,
>
> The music-app currently has a dependency upon
> "qtdeclarative5-nemo-qml-plugin-folderlistmodel". If you install music-app
> via the PPA, you'll pick this up automatically. Please run "sudo apt-get
> install qtdeclarative5-nemo-qml-plugin-folderlistmodel" to directly fix
> your issue.
>
> Victor
>
>
> On Wed, Jul 24, 2013 at 10:41 PM, John Kim <johnkim.ubuntu@xxxxxxxxx>wrote:
>
>> Hello all,
>>
>> My name is John, a relative newcomer to automated testcases, and I am
>> interested in writing autopilot testcases for core apps during the cycle.
>> I read all the necessary information to configure my Ubuntu 13.04 computer
>> and my Nexus 7 for Ubuntu Touch development.
>>
>> I bzr-ed all the core apps and stowed it in ~/phablet/coreapps. My first
>> testcase I plan to tackle is the music-app. On launchpad, I noticed two
>> testcases have recently been written, and I wanted to check them out. So I
>> navigated all the way to *~/phablet/coreapps/music-app/tests/autopilot*and ran 'autopilot list' on the terminal. No problems there. But when I
>> entered 'autopilot run music...test_pause', I received several different
>> errors, particularly RuntimeError:('Search criteria returned no results').
>> The same applied to the other two tests. All three of them lasted 20
>> seconds.
>>
>> http://pastebin.com/UJDZ1Hnk
>>
>> I read the code, and everything seems all right, from the setup to the
>> tests themselves. But I need to get my facts straight.
>>
>> 1. Aside from ssh-ing into the Nexus 7 and installing the testcases
>> and running them, how can I actually run local testcases on my Nexus 7? The
>> Autopilot community documentation hasn't explained this aspect. I tried
>> bzr, but it didn't quite work.
>> 2. Why am I receiving the RuntimeError? When I read the code, it
>> seems the setup has been properly done.
>> 3. When the testcase was running, the app itself didn't pop up to
>> demonstrate the testcase in action.
>> 4. Finally, how can I actually put music into the Nexus 7?
>>
>> Thanks if you can help me out here.
>> ---
>> John Kim
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-touch-coreapps
>> Post to : ubuntu-touch-coreapps@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps
>> More help : https://help.launchpad.net/ListHelp
>>
>>
> Hi Victor,
>
> Thanks for replying. This is just a suggestion, but dependencies for
> future testcases should be mentioned explicitly before one runs a
> testcase. Digging around is very difficult.
>
> I did the installation, and it resolved issues 2 and 3. Now, I
> encountered a Mismatch error. How can this be resolved?
>
> http://pastebin.com/gGEkJTGq
>
> I'm still very curious about issues 1 and 4...
>
> --
> John Kim
> Ubuntu QA & Doc Contributorjohnkim.ubuntu@xxxxxxxxx
>
>
Follow ups
References