firefox-devtools / firefox-devtools/profiler

Write a test for dragging range selections

Open
#1,846 0 comments 0 reactions 0 assignees View on GitHub
tests
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

I believe this regressed previously before too.

See the STR from #1845.

Ideally this test should be written a bit higher up the component hierarchy, probably using the `` component itself, `src/components/timeline/index.js`. It should use mouse events and the react testing library to simulate a user dragging the selection.

This test will go in: src/test/components/Timeline.test.js

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-133)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.