Merge lp://qastaging/~sil2100/unity/autopilot_shopping_fix into lp://qastaging/unity

Proposed by Łukasz Zemczak
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: no longer in the source branch.
Merged at revision: 2889
Proposed branch: lp://qastaging/~sil2100/unity/autopilot_shopping_fix
Merge into: lp://qastaging/unity
Diff against target: 77 lines (+10/-8)
1 file modified
tests/autopilot/unity/tests/test_shopping_lens.py (+10/-8)
To merge this branch: bzr merge lp://qastaging/~sil2100/unity/autopilot_shopping_fix
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
PS Jenkins bot continuous-integration Pending
Review via email: mp+133738@code.qastaging.launchpad.net

Commit message

For the shopping lens tests - 'a' is not a sufficient search string, use something that is more likely to result some results. Also, make it locale independent by using gettext translations for categories.

Description of the change

- Problem:

Tests fail due to "a" search string not returning any shopping results. The tests are also failing on non-EN locale.

- Fix:

Use a string more probable in returning shopping results, e.g. "playstation". We also gettext the category values for different locale.

- Tests:

N/A

To post a comment you must log in.
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

+1

review: Approve

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.