Look into integrating PollyJS
Categories
(Tree Management :: Perfherder, task, P2)
Tracking
(Not tracked)
People
(Reporter: igoldan, Assigned: aesanu)
Details
Investigate pollyjs & its family of HTTP record/replay frontend testing tools.
Conclude whether it can suite our needs of quickly extending test coverage on Graphs view (& potentially other Perfherder/Treeherder), without changing too much of
the view' source code.
Graphs view has components that make many backend requests under the hood.
It's hard to visualize their order & the kind of data they retrieve.
Thus, preparing the appropriate mocks for a test suite is pretty wearisome & time consuming.
We'd rather introduce a tool like PollyJs that records the HTTP message exchange & replays it back during test runs.
Basically, it automates this tedious, manual mocking process & allows frontend developers to focus more on writing tests.
Jira link: https://jira.mozilla.com/browse/FXP-1445
| Reporter | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Description
•