Skip to content

Commit

Permalink
expect HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
hypebright committed May 1, 2024
1 parent c31d44f commit bd0f0d7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 56 deletions.
8 changes: 8 additions & 0 deletions tests/testthat/_snaps/f7Searchbar.md

Large diffs are not rendered by default.

27 changes: 0 additions & 27 deletions tests/testthat/_snaps/f7Searchbar/searchbar-app-001.json

This file was deleted.

Binary file not shown.
27 changes: 0 additions & 27 deletions tests/testthat/_snaps/f7Searchbar/searchbar-app-002.json

This file was deleted.

Binary file not shown.
4 changes: 2 additions & 2 deletions tests/testthat/test-f7Searchbar.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ test_that("searchbar works", {
app$click(selector = "[data-searchbar=\"#search1\"]")
app$run_js("app.searchbar.search('.searchbar', 'mobile')")
app$wait_for_idle(2000)
app$expect_values(input = "deviceInfo")
app$expect_html(selector = ".searchbar-found")
app$click(selector = ".input-clear-button")
app$wait_for_idle(2000)
app$expect_values(input = "deviceInfo")
app$expect_html(selector = ".searchbar-found")
})

0 comments on commit bd0f0d7

Please sign in to comment.