Closed
Bug 1406042
Opened 8 years ago
Closed 8 years ago
Copy relevant old console test to the new frontend
Categories
(DevTools :: Console, enhancement, P1)
DevTools
Console
Tracking
(firefox58 fixed)
RESOLVED
FIXED
Firefox 58
| Tracking | Status | |
|---|---|---|
| firefox58 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
(Whiteboard: [reserve-console-html])
Attachments
(1 file)
In this bug, all the bug tagged as relevant in https://docs.google.com/spreadsheets/d/11RBIwROFsdPzEXkt94Bzk-y49KxRu08dwC6hvA-MOGA/edit#gid=0, or that have the "Browser Console" extra should be copied other the new frontend test directory.
- The tests that contains the bug number in their file should be renamed
- The tests that are prefixed with browser_console without actually testing the browser console should be renamed browser_webconsole_xx
- The tests that are about the console input should be renamed browser_jsterm_xx
- The support files should also be copied (and renamed if matches some of the elements described above)
Then, in the browser.ini file, all the new test should have a `skip-if=true`, followed by the bug number in which should happen the migration, if there is one in the dashboard.
Beware of also copying any extra info (subsuite, skip on specific platforms, …) from the old browser-ini
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [console-html]
Updated•8 years ago
|
Whiteboard: [console-html] → [console-html] [triage]
Updated•8 years ago
|
Whiteboard: [console-html] [triage] → [reserve-console-html]
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8915887 [details]
Bug 1406042 - Copy relevant old console test to the new frontend;
https://reviewboard.mozilla.org/r/187144/#review192202
Looks reasonable to me.
R+ assuming try is green.
This is great amount of work, thanks!
Honza
Attachment #8915887 -
Flags: review?(odvarko) → review+
| Assignee | ||
Comment 4•8 years ago
|
||
I'm seeing ESLint failures, I think eslint was disabled on the old tests. Let me eslint ignore the new tests, and we'll enable them one by one when doing the migration.
| Comment hidden (mozreview-request) |
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8149514f0473
Copy relevant old console test to the new frontend; r=Honza
Comment 7•8 years ago
|
||
Backed out for failing devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_property_provider.js:
https://hg.mozilla.org/integration/autoland/rev/e27e466cec06d42e12328206bc5026bd68d5f7fa
That got catched by the early running test-verify which runs modified tests. It failed in the first run, so either it will also fail in devtools runs or depends on the status from a test which usually runs before it.
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=8149514f04738b632122746c6b03d8ec420197f9&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable&filter-resultStatus=success&filter-searchStr=test-verify
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=135517779&repo=autoland
[task 2017-10-07T14:26:42.079Z] 14:26:42 INFO - *** Start BrowserChrome Test Results ***
[task 2017-10-07T14:26:42.120Z] 14:26:42 INFO - checking window state
[task 2017-10-07T14:26:42.182Z] 14:26:42 INFO - TEST-START | devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_property_provider.js
[task 2017-10-07T14:26:42.359Z] 14:26:42 INFO - TEST-INFO | started process screentopng
[task 2017-10-07T14:26:43.327Z] 14:26:43 INFO - TEST-INFO | screentopng: exit 0
[task 2017-10-07T14:26:43.328Z] 14:26:43 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_property_provider.js | Exception thrown - at chrome://mochitests/content/browser/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_property_provider.js:14 - ReferenceError: loadTab is not defined
Flags: needinfo?(nchevobbe)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 9•8 years ago
|
||
This is a test migration and I forgot to mark that one as always skipped.
Doing it now, and it will be enabled in a specific bug.
| Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(nchevobbe)
Comment 10•8 years ago
|
||
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5584789d1d0
Copy relevant old console test to the new frontend; r=Honza
Comment 11•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•