Closed
Bug 1134791
Opened 10 years ago
Closed 10 years ago
Testharness tests don't show their output in-browser even if you're only running one test
Categories
(Testing :: web-platform-tests, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: Ms2ger)
Details
Attachments
(1 file, 1 obsolete file)
1.01 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
This is about mochitest th tests, but ms2ger told me to file here....
Running a single mochitest normally lets you see in the browser which assertions failed, without having to grovel the log. But th tests don't show anything at all in browser, even if you're running only one test.
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(Ms2ger)
Comment 1•10 years ago
|
||
Fix for non-mochitest case is in https://critic.hoppipolla.co.uk/r/4107
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8574715 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → Ms2ger
Status: NEW → ASSIGNED
![]() |
Reporter | |
Comment 3•10 years ago
|
||
Comment on attachment 8574715 [details] [diff] [review]
Show the testharness.js output when running a single mochitest
Isn't the test run in a suframe in mochitest even when running a single test?
![]() |
Reporter | |
Comment 4•10 years ago
|
||
Comment on attachment 8574715 [details] [diff] [review]
Show the testharness.js output when running a single mochitest
Applied the patch, ran:
mach mochitest-plain dom/bindings/test/test_bug773326.html
and the output is not there. So this doesn't work, afaict...
Fwiw, I checked and parent is the test harness <http://mochi.test:8888/tests/?stuff> while this is the actual subframe the test is loaded in.
Attachment #8574715 -
Flags: review?(bzbarsky) → review-
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8575912 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•10 years ago
|
Attachment #8574715 -
Attachment is obsolete: true
![]() |
Reporter | |
Comment 6•10 years ago
|
||
Comment on attachment 8575912 [details] [diff] [review]
Show the testharness.js output when the browser remains open after running the test
Yes, much better! Thank you!
Attachment #8575912 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(Ms2ger)
You need to log in
before you can comment on or make changes to this bug.
Description
•