Skip to content

Commit 615dcb2

Browse files
rschuchmannfproske
authored andcommitted
[tests] fix test
1 parent e43c4b7 commit 615dcb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/shinytest/sandbox_compare_test.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ app$click(selector = ".btSplitView a[data-view='tab']")
111111
expect_error(app$wait_for_js("$('#tab_5_8-scalarBoxes h3:contains(\"102\")').length>0", timeout = 5000L), NA)
112112
# click refresh button in tab compare mode
113113
Sys.sleep(1)
114-
expect_error(app$wait_for_js("$('.scen-button').is(':visible');", timeout = 5000L), NA)
115-
app$run_js("$('.scen-button:visible').eq(0).click();")
114+
expect_error(app$wait_for_js("$('#refreshSandbox_5 > .bt-icon').is(':visible');", timeout = 5000L), NA)
115+
app$run_js("$('#refreshSandbox_5 > .bt-icon').eq(0).click();")
116116
expect_error(app$wait_for_js("$('#tab_5_8-scalarBoxes h3:contains(\"22\")').length>0", timeout = 5000L), NA)
117117
app$stop()

0 commit comments

Comments
 (0)