Browse Source

Fix last integraton test failing in Firefox and enabling it as a default target

pull/851/head
Shagen Ogandzhanian 3 years ago
parent
commit
244f4ce1d8
  1. 1
      web/gradle.properties
  2. 9
      web/integration-core/src/jvmTest/kotlin/org/jetbrains/compose/web/tests/integration/InputsTests.kt

1
web/gradle.properties

@ -1,3 +1,4 @@
COMPOSE_CORE_VERSION=0.5.0-build228 COMPOSE_CORE_VERSION=0.5.0-build228
COMPOSE_WEB_VERSION=0.0.16-SNAPSHOT COMPOSE_WEB_VERSION=0.0.16-SNAPSHOT
COMPOSE_WEB_BUILD_WITH_EXAMPLES=false COMPOSE_WEB_BUILD_WITH_EXAMPLES=false
compose.web.tests.integration.withFirefox

9
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) val actions = Actions(driver)
actions.moveToElement(slider) actions
.moveByOffset(-(slider.size.width / 2), 0) .clickAndHold(slider)
.click() .sendKeys(Keys.RIGHT)
.sendKeys(Keys.RIGHT, Keys.RIGHT)
.perform() .perform()
driver.waitTextToBe(value = "10") driver.waitTextToBe(value = "55")
} }
@ResolveDrivers @ResolveDrivers

Loading…
Cancel
Save