[Bugzilla Lite] Testing Search in Bugzilla Lite

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
3 years ago
8 months ago

People

(Reporter: manel, Assigned: manel, Mentored)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

3 years ago
This bug is intended to test the search in Bugzilla Lite App For Firefox OS Spark Version.
Created attachment 8634145 [details] [review]
[gaia] mermi:testsearchbzlite > mozilla-b2g:master
(Assignee)

Comment 2

3 years ago
Created attachment 8634146 [details] [review]
Testing Search in Bugzilla Lite App
(Assignee)

Updated

3 years ago
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)
(Assignee)

Comment 4

3 years ago
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 ?!
(Assignee)

Updated

3 years ago
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)

Updated

3 years ago
Attachment #8634146 - Flags: review?(jdorlus)
Assignee: nobody → manel.rhaiem92
(Assignee)

Comment 6

3 years ago
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)

Comment 9

8 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.