Released in Ubuntu 7.1.0.
** Changed in: unity
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
https://bugs.launchpad.net/bugs/1185486
Title:
PaymentPreview is not exposed to autopilot
Status in Unity:
Fix Released
Status in “unity” package in Ubuntu:
Fix Released
Bug description:
We are automating the tests for music purchases from the dash. There
are autopilot emulators on tests/autopilot/unity/emulators/dash.py
that let us access and simulate all the actions from the purchase flow
until we are at the payment preview screen. At that place, autopilot
has no access and we can't continue the automation.
According to https://wiki.ubuntu.com/Unity/QA/Autopilot, we need the
PaymentPreview to derive from the unity::debug::Introspectable class.
And then implement GetName () and AddProperties (GVariantBuilder
*builder).
Peeking at the MusicPreview that works like a charm with Autopilot, it
has:
#include "unity-shared/IntrospectableWrappers.h"
std::string MusicPreview::GetName() const
{
return "MusicPreview";
}
void MusicPreview::AddProperties(GVariantBuilder* builder)
{
Preview::AddProperties(builder);
}
That looks like a nice way to start.
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1185486/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp