From c78ce8fb7cc8aafcc2d83d2f0229989f282ee974 Mon Sep 17 00:00:00 2001 From: George Satellite Date: Sun, 15 Oct 2023 15:49:49 +0300 Subject: [PATCH] examples: test dragging --- apps/docs/e2e/index.spec.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/docs/e2e/index.spec.ts b/apps/docs/e2e/index.spec.ts index 6a8a891..5e60571 100644 --- a/apps/docs/e2e/index.spec.ts +++ b/apps/docs/e2e/index.spec.ts @@ -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}); }); }); @@ -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}); }); });