Closed
Bug 1183160
Opened 10 years ago
Closed 10 years ago
[Bugzilla Lite] Testing the Log out to Bugzilla Lite
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: manel, Assigned: manel, Mentored)
Details
Attachments
(4 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20150513191138
Steps to reproduce:
* get the spark version on you device "flame"
* get marionette client
* write a test for the log out
Actual results:
No test exist for the log out of Bugzilla Lite App
Expected results:
write a script, and run it
| Assignee | ||
Updated•10 years ago
|
Mentor: jlorenzo
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8643077 -
Flags: review?(jlorenzo)
Updated•10 years ago
|
Assignee: nobody → manel.rhaiem92
Comment 5•10 years ago
|
||
Comment on attachment 8643077 [details]
Testing the Log out to Bugzilla Lite
The test is on the right track. As bug 1180624 landed, git has fallen into a merge conflict. It think you're trying to add twice the same line. Then we need to rebase the patch and then resolve the conflicts.
I tested the patch locally (I added the code manually), and is_logged_out() is not passing. I also think the selectors can be more pointy. I left more details in the PR.
Thanks for this good start!
Attachment #8643077 -
Flags: review?(jlorenzo)
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #5)
> Comment on attachment 8643077 [details]
> Testing the Log out to Bugzilla Lite
>
> The test is on the right track. As bug 1180624 landed, git has fallen into a
> merge conflict. It think you're trying to add twice the same line. Then we
> need to rebase the patch and then resolve the conflicts.
>
> I tested the patch locally (I added the code manually), and is_logged_out()
> is not passing. I also think the selectors can be more pointy. I left more
> details in the PR.
>
> Thanks for this good start!
Thanks, I'll check the details in the PR :)
| Assignee | ||
Updated•10 years ago
|
Attachment #8641047 -
Flags: review?(jlorenzo)
Comment 7•10 years ago
|
||
Comment on attachment 8641047 [details] [review]
[gaia] mermi:newLogoutBzlite > mozilla-b2g:master
The test is easy to read and execute well on my device. The login test is not broken too.
I don't see any issue with the current code.
Good job! Thank you very much!
Attachment #8641047 -
Flags: review?(jlorenzo) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8641047 [details] [review]
[gaia] mermi:newLogoutBzlite > mozilla-b2g:master
Asking John for a second review.
Attachment #8641047 -
Flags: review?(jdorlus)
Updated•10 years ago
|
Attachment #8641047 -
Flags: review?(jdorlus) → review+
Comment 9•10 years ago
|
||
I forgot one thing in the review. Could you modify the manifest file[1], so this test will be run in our jobs? Thanks!
[1] https://github.com/mermi/gaia/blob/newFillBug/tests/python/gaia-ui-tests/gaiatest/tests/functional/bzlite/manifest.ini
Flags: needinfo?(manel.rhaiem92)
| Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #9)
> I forgot one thing in the review. Could you modify the manifest file[1], so
> this test will be run in our jobs? Thanks!
>
> [1]
> https://github.com/mermi/gaia/blob/newFillBug/tests/python/gaia-ui-tests/
> gaiatest/tests/functional/bzlite/manifest.ini
Right, I am doing it :)
Flags: needinfo?(manel.rhaiem92)
Comment 11•10 years ago
|
||
I can't land this test due to the gaia tree being closed (bug 1198172)
Comment 12•10 years ago
|
||
Merged in master at: https://github.com/mozilla-b2g/gaia/commit/756428614f1c10d4687b654c372174c768f75f1b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•