Skip to content

Commit

Permalink
examples: test dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
satelllte committed Oct 15, 2023
1 parent f3e6843 commit c78ce8f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions apps/docs/e2e/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ test.describe('"Simple linear knob" example', () => {
const knobOutput = container.getByRole('status');
await expectKnobValueEqual(knob, {valueNow: 50});
await expectKnobValueText(knob, {knobOutput, valueText: '50%'});
///
// await expectKnobDraggingDown(knob, {valueNow: 50, page});
// await expectKnobDraggingUp(knob, {valueNow: 50, page, multiplier: 2});
await expectKnobDraggingDown(knob, {valueNow: 50, page});
await expectKnobDraggingUp(knob, {valueNow: 50, page, multiplier: 2});
});
});

Expand Down Expand Up @@ -132,9 +131,8 @@ test.describe('"Interpolated knob" example', () => {
const knobOutput = container.getByRole('status');
await expectKnobValueEqual(knob, {valueNow: 440});
await expectKnobValueText(knob, {knobOutput, valueText: '440 Hz'});
///
// await expectKnobDraggingDown(knob, {valueNow: 440, page});
// await expectKnobDraggingUp(knob, {valueNow: 440, page, multiplier: 2});
await expectKnobDraggingDown(knob, {valueNow: 440, page});
await expectKnobDraggingUp(knob, {valueNow: 440, page, multiplier: 2});
});
});

Expand Down

0 comments on commit c78ce8f

Please sign in to comment.