Browse Source

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

pull/851/head
Shagen Ogandzhanian 4 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_WEB_VERSION=0.0.16-SNAPSHOT
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)
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

Loading…
Cancel
Save