Closed Bug 1184154 Opened 9 years ago Closed 6 years ago

[Bugzilla Lite] Testing Search in Bugzilla Lite

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: manel, Assigned: manel, Mentored)

Details

Attachments

(2 files)

This bug is intended to test the search in Bugzilla Lite App For Firefox OS Spark Version.
Attachment #8634146 - Flags: review?(jlorenzo)
Attachment #8634146 - Flags: review?(jdorlus)
Comment on attachment 8634146 [details] [review]
Testing Search in Bugzilla Lite App

That's on the right track.

We need to be less dependent from the phone state, though. That is to say: Some tests assume that you're already logged in to BzLite. They should be independent one from another.

Also, I'm hitting some issues while testing with my personal account. We'd need to fix that by using a test account on the staging environment. Let me follow up on that.
Attachment #8634146 - Flags: review?(jlorenzo)
I tried the test with the dismiss_tooltip and the login, but When we use the dismiss_tooltip with --restart we lost the staging version of Bzlite, So it's possible to add something in the code to install the bzlite staging version or we can don't use --restart ?!
Flags: needinfo?(jlorenzo)
We currently have to use --restart, because most of the clean up happen there. And the stage app disappear because of this clean up, we remove the profile (where the extra apps are located) there [1].

We have a way to install an app, you can use [2].

Side note: To make the code cleaner, it would be great to define a function called install(self, url) right after [3]. But we can handle this refactor later.

[1] https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/gaia_test.py#L907 
[2] https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/homescreen/test_homescreen_launch_app.py#L28
[3] https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/gaia_test.py#L149
Flags: needinfo?(jlorenzo)
Attachment #8634146 - Flags: review?(jdorlus)
Assignee: nobody → manel.rhaiem92
Comment on attachment 8634145 [details] [review]
[gaia] mermi:testsearchbzlite > mozilla-b2g:master

I think this one in some way depends on bug 1184415.

I tried out a test but I got a failure:https://pastebin.mozilla.org/8848648
Attachment #8634145 - Flags: review?(jlorenzo)
(In reply to Manel Rhaiem [:manel] from comment #6)
> I tried out a test but I got a failure:https://pastebin.mozilla.org/8848648

I think you need to do "python setup.py develop" to get this fixed.
Comment on attachment 8634145 [details] [review]
[gaia] mermi:testsearchbzlite > mozilla-b2g:master

It got better :)

The test itself is small enough, the functions are not too big => This is great. I don't r+ because the test doesn't pass at the moment and there is a good amount of minor fixes to perform. 

Does the solution provided by Martijn make your test run?
Attachment #8634145 - Flags: review?(jlorenzo)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: