Closed
Bug 1558756
Opened 5 years ago
Closed 5 years ago
Add Jest unit tests for React components
Categories
(DevTools :: Application Panel, task, P1)
DevTools
Application Panel
Tracking
(firefox70 fixed)
RESOLVED
FIXED
Firefox 70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: ladybenko, Assigned: ogasidlo)
References
Details
(Whiteboard: foundation-work)
Attachments
(1 file)
Add Jest tests for our components:
WorkerList
WorkerListEmpty
Worker
App
Reporter | ||
Updated•5 years ago
|
Type: defect → task
Assignee | ||
Updated•5 years ago
|
Whiteboard: foundation-work
Assignee | ||
Updated•5 years ago
|
Priority: -- → P3
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → ogasidlo
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 years ago
|
Priority: P3 → P1
Assignee | ||
Comment 1•5 years ago
|
||
added more jest test for components including snapshots + fixtures
Updated•5 years ago
|
Attachment #9078184 -
Attachment description: Bug 1558756 - Adding jest tests for components → Bug 1558756 - Adding jest tests for components, r=jdescottes!, ladybenko!
Pushed by ogasidlo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/266931d06efb
Adding jest tests for components, r=ladybenko,jdescottes
Comment 3•5 years ago
•
|
||
Backed out changeset 266931d06efb (Bug 1558756) for causing devtools failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/4382f734fc377bbe7433fa6d58e58cd732ae4c82
Failure log:
- https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=257888533&repo=autoland&lineNumber=587
[task 2019-07-23T14:50:22.713Z] Snapshot Summary
[task 2019-07-23T14:50:22.713Z] › 2 snapshots failed from 1 test suite. Inspect your code changes or runyarn run test-ci -u
to update them.
[task 2019-07-23T14:50:22.713Z]
[task 2019-07-23T14:50:22.713Z] Test Suites: 1 failed, 2 passed, 3 total
[task 2019-07-23T14:50:22.713Z] Tests: 2 failed, 4 passed, 6 total
[task 2019-07-23T14:50:22.713Z] Snapshots: 2 failed, 4 passed, 6 total
[task 2019-07-23T14:50:22.713Z] Time: 5.642s
[task 2019-07-23T14:50:22.713Z] Ran all test suites.
[task 2019-07-23T14:50:22.713Z] error Command failed with exit code 1.
[task 2019-07-23T14:50:22.713Z]
[task 2019-07-23T14:50:22.713Z] [devtools-node-test-runner] Parse errors from the test logs
[task 2019-07-23T14:50:22.713Z] TEST-UNEXPECTED-FAIL | jest | application | ● Service Worker List: › renders the expected snapshot for a workerList with single worker list
[task 2019-07-23T14:50:22.713Z] TEST-UNEXPECTED-FAIL | jest | application | ● Service Worker List: › renders the expected snapshot for a workerList with multiple workers list
[task 2019-07-23T14:50:22.713Z] [devtools-node-test-runner] Test suite [application] failed
[taskcluster 2019-07-23 14:50:23.200Z] === Task Finished ===
[taskcluster 2019-07-23 14:50:23.200Z] Unsuccessful task run with exit code: 1 completed in 292.077 seconds
Flags: needinfo?(ogasidlo)
Assignee | ||
Comment 4•5 years ago
|
||
The issue is solved. Waiting on try as an intermittent occurred.
Flags: needinfo?(ogasidlo)
Assignee | ||
Comment 5•5 years ago
|
||
Should be back in the queue.
Pushed by ogasidlo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3ba90a7d4a46
Adding jest tests for components, r=ladybenko,jdescottes
Comment 7•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
You need to log in
before you can comment on or make changes to this bug.
Description
•