We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef359fe commit ab09e64Copy full SHA for ab09e64
inst/utils/test-golem_utils_ui.R
@@ -167,21 +167,12 @@ test_that("Test undisplay works", {
167
"go_filter",
168
"go"
169
)
170
- expect_s3_class(
171
- b,
172
- "shiny.tag"
173
- )
174
expect_equal(
175
- as.character(b),
176
- '<button id="go_filter" type="button" class="btn btn-default action-button">go</button>'
177
178
- b_undisplay <- undisplay(b)
179
- expect_s3_class(b, "shiny.tag")
180
- expect_equal(
181
- as.character(
182
- b_undisplay
+ htmltools::tagGetAttribute(
+ undisplay(b),
+ "style"
183
),
184
- '<button id="go_filter" type="button" class="btn btn-default action-button" style="display: none;">go</button>'
+ "display: none;"
185
186
187
c <- shiny::tags$p(
0 commit comments