aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-02-17 16:04:18 +0100
committerRobert Jaros <rjaros@finn.pl>2019-02-17 16:04:18 +0100
commitd0e47e1bfb32f14b2613d353e1df7c11ad51cb61 (patch)
tree55b5528a11d79e84a29df7498f144c3410c40012 /kvision-modules/kvision-bootstrap/src
parent8eb8d09db5b68972de4507df33c13a2dee738cf3 (diff)
downloadkvision-d0e47e1bfb32f14b2613d353e1df7c11ad51cb61.tar.gz
kvision-d0e47e1bfb32f14b2613d353e1df7c11ad51cb61.tar.bz2
kvision-d0e47e1bfb32f14b2613d353e1df7c11ad51cb61.zip
Fixed tests with headless Chrome.
Diffstat (limited to 'kvision-modules/kvision-bootstrap/src')
-rw-r--r--kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt
index 477ab1f6..e87626ca 100644
--- a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt
+++ b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt
@@ -44,7 +44,7 @@ class WindowSpec : DomSpec {
)
window.isResizable = true
assertEqualsHtml(
- "<div class=\"modal-content kv-window\" id=\"$id\" style=\"width: auto; position: absolute; z-index: 901; overflow: hidden; resize: both; height: 12px;\"><div class=\"modal-header\"><h4 class=\"modal-title\">Window title</h4></div><div style=\"height: auto; overflow: auto; margin-bottom: 11px;\"></div><object style=\"display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1; opacity: 0;\" class=\"resize-sensor\" type=\"text/html\" data=\"about:blank\"></object></div>",
+ "<div class=\"modal-content kv-window\" id=\"$id\" style=\"width: auto; position: absolute; z-index: 901; overflow: hidden; resize: both;\"><div class=\"modal-header\"><h4 class=\"modal-title\">Window title</h4></div><div style=\"height: auto; overflow: auto; margin-bottom: 11px;\"></div><object style=\"position: absolute; top: 0; left: 0; height: 100%; width: 100%; pointer-events: none; z-index: -1; opacity: 0;\" class=\"resize-sensor\" tabindex=\"-1\" type=\"text/html\" data=\"about:blank\"></object></div>",
element?.innerHTML,
"Should render floating window with resizable handler"
)