File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -333,11 +333,9 @@ class FormatTests : TestBase() {
333
333
.rename(" cityCopy" ).into(" city" )
334
334
335
335
val formatted = df.format(" city" ).with { bold and italic and textColor(green) }
336
- val html =
337
- formatted.toStandaloneHtml() + // expand the nested dataframes so we can see the difference
338
- DataFrameHtmlData (script = " document.querySelectorAll('a.expander').forEach(a => a.click());" )
336
+ val html = formatted.toHtml().toString()
339
337
340
- html.toString(). split(" color:#00ff00" ).size - 1 shouldBe 12
341
- html.toString(). split(" font-style:italic" ).size - 1 shouldBe 6
338
+ html.split(" color:#00ff00" ).size - 1 shouldBe 12
339
+ html.split(" font-style:italic" ).size - 1 shouldBe 6
342
340
}
343
341
}
You can’t perform that action at this time.
0 commit comments