Closed Bug 1689607 Opened 4 years ago Closed 4 years ago

Look into integrating PollyJS

Categories

(Tree Management :: Perfherder, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

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

needinfo? for this Jira comment.

Flags: needinfo?(aesanu)
Flags: needinfo?(aesanu)

Andra, please close this bug.

Flags: needinfo?(aesanu)
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(aesanu)
Resolution: --- → FIXED
Assignee: nobody → aesanu
You need to log in before you can comment on or make changes to this bug.