From 57da0d71e37adebb72d90292f850c06d4d969547 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 27 Feb 2018 09:33:07 +0100 Subject: Various fixes for window component. --- src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt index 698efd2a..27de17de 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/window/WindowSpec.kt @@ -35,15 +35,16 @@ class WindowSpec : DomSpec { val root = Root("test") val window = Window("Window title", isResizable = false) root.add(window) + val id = window.id val element = document.getElementById("test") assertEqualsHtml( - "

Window title

", + "

Window title

", element?.innerHTML, "Should render floating window without resizable handler" ) window.isResizable = true assertEqualsHtml( - "

Window title

", + "

Window title

", element?.innerHTML, "Should render floating window with resizable handler" ) -- cgit