-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Error: should be wider than the original segment
expect(received).toBeGreaterThan(expected)
Expected: > 69
Received: 1
41 | segBoxPostChange.width,
42 | "should be wider than the original segment",
> 43 | ).toBeGreaterThan(segBoxPreChange.width);
| ^
44 | await page.locator("segment.wavesurfer-segment").first().click();
45 | await expect(
46 | page.getByTitle("-2.360").locator("div"),
at /home/legers/Work/Studio-Web/packages/studio-web/tests/editor/use-audio-toolbar.spec.ts:43:7
The purpose of the failing test is to verify that we can modify the length of a single audio segment. In this case the test attempts to capture the audio leading up to the word "This" by moving the first black handle to the left:

When the test fails, we get this instead: (note the "This" segment is now very narrow and the "This" text now overlaps the "is" segment)

Metadata
Metadata
Assignees
Labels
No labels