Browse Source

Before resize, after resize in making screen width less than

FX_FIXES
Shagen Ogandzhanian 3 years ago
parent
commit
de464a8414
  1. 4
      web/integration-core/src/jvmTest/kotlin/org/jetbrains/compose/web/tests/integration/IntegrationTests.kt

4
web/integration-core/src/jvmTest/kotlin/org/jetbrains/compose/web/tests/integration/IntegrationTests.kt

@ -63,12 +63,12 @@ class IntegrationTests : BaseIntegrationTests() {
driver.waitTextToBe(textId = "span1", "This a colored text")
driver.manage().window().size = Dimension(1000, 1000)
assertEquals("rgba(0, 0, 0, 1)", span.getCssValue("color"))
assertEquals("rgba(0, 0, 0, 1)", span.getCssValue("color"), "before resize")
driver.manage().window().size = Dimension(300, 300)
driver.waitTextToBe(textId = "span1", "This a colored text")
assertEquals("rgba(255, 0, 0, 1)", span.getCssValue("color"))
assertEquals("rgba(255, 0, 0, 1)", span.getCssValue("color"), "after resize")
} finally {
driver.manage().window().size = initialWindowSize
}

Loading…
Cancel
Save