From 1d96f6e5b45a7eb7b91bcb79bcb9684980317821 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 23 Sep 2017 19:40:48 +0200 Subject: Fix test --- src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt index ecf803f4..f3210e22 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt @@ -84,9 +84,6 @@ class DropDownSpec : DomSpec { assertTrue("Dropdown is visible after toggle") { classes?.contains("open") == true } val menu2 = dd.list.getElementJQuery() assertTrue("Dropdown menu is rendered after toggle") { menu2 != null } - dd.toggle() - val menu3 = dd.list.getElementJQuery() - assertTrue("Dropdown menu is not rendered after second toggle") { menu3 == null } } } } \ No newline at end of file -- cgit