Closed Bug 1026992 Opened 11 years ago Closed 11 years ago

[FTU] Several issues in navigation_test.js

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julienw, Assigned: julienw)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
fcampo
: review+
Details | Review
While working on bug 874510 I found that a test in navigation_test.js shouldn't pass but it currently does. So I found there are several main issues: * the HTML markup is not reset for each test. * when calling manageStep, a hashchange event will be called even if we don't wait for it to do the next test * the test "welcome_browser" is wrong because it tests for something that should be in "browser_privacy". It currently passes because of the 2 previous issues.
I have a WIP patch.
Assignee: nobody → felash
Attached file github PR
Does not fix the second issue yet.
Blocks: 874510
Comment on attachment 8442013 [details] [review] github PR Seems to be ready now, but you can wait for Travis before reviewing. See also bug 874510 for a travis run with the new mocha.
Attachment #8442013 - Flags: review?(fernando.campo)
Comment on attachment 8442013 [details] [review] github PR Just a small nit on github, tried locally and tests pass fine, hopefully Travis will agree soon :)
Attachment #8442013 - Flags: review?(fernando.campo) → review+
Fixed the nit and landed in: master: bd5065ced020014df5fd45259fba1ac32d65673b Thanks Fernando !
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: