diff --git a/web/integration-core/src/jvmTest/kotlin/org/jetbrains/compose/web/tests/integration/InputsTests.kt b/web/integration-core/src/jvmTest/kotlin/org/jetbrains/compose/web/tests/integration/InputsTests.kt index 99856818c4..59f0155687 100644 --- a/web/integration-core/src/jvmTest/kotlin/org/jetbrains/compose/web/tests/integration/InputsTests.kt +++ b/web/integration-core/src/jvmTest/kotlin/org/jetbrains/compose/web/tests/integration/InputsTests.kt @@ -78,13 +78,12 @@ class InputsTests : BaseIntegrationTests() { val actions = Actions(driver) - actions.moveToElement(slider) - .moveByOffset(-(slider.size.width / 2), 0) - .click() - .sendKeys(Keys.RIGHT, Keys.RIGHT) + actions + .clickAndHold(slider) + .sendKeys(Keys.RIGHT) .perform() - driver.waitTextToBe(value = "10") + driver.waitTextToBe(value = "55") } @ResolveDrivers