Skip to content

Commit

Permalink
Merge branch 'main' into cpp11_all_the_things
Browse files Browse the repository at this point in the history
* main:
  Fix docs on `delay` being in seconds (#255)
  • Loading branch information
schloerke committed Sep 12, 2022
2 parents 75584be + aab1122 commit 955ea4e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@

* Fixed GHA links for `rstudio/shinytest2/actions/test-app@v1` (#249)

* Fix documentation on on `AppDriver`'s `delay` parameter being in **seconds**, not *milli*seconds (#255)


# shinytest2 0.1.1

Expand Down
12 changes: 6 additions & 6 deletions R/app-driver.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ NULL
#'
#' If a `FALSE` value is provided, the parameter will be ignored and a
#' screenshot will be taken with default behavior.
#' @param delay The number of milliseconds to wait before taking the screenshot.
#' This value can either be supplied as `delay` or `screenshot_args`'s delay
#' slot. The `delay` parameter will have preference.
#' @param delay The number of **seconds** to wait before taking the screenshot.
#' This value can be supplied as `delay` or `screenshot_args$delay`, with the
#' `delay` parameter having preference.
#' @param selector The selector is a CSS selector that will be used to select a
#' portion of the page to be captured. This value can either be supplied as
#' `selector` or `screenshot_args`'s selector slot. The `selector` parameter
#' will have preference.
#' portion of the page to be captured. This value can be supplied as
#' `selector` or `screenshot_args$selector`, with the `selector` parameter
#' having preference.
#' @importFrom R6 R6Class
#' @seealso [`platform_variant()`], [`use_shinytest2_test()`]
#' @export
Expand Down
24 changes: 12 additions & 12 deletions man/AppDriver.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 955ea4e

Please sign in to comment.