test_e2e | R Documentation |
Uses Cypress to run end-to-end tests
defined in the tests/cypress
directory.
Requires Node.js to be available on the system.
test_e2e(interactive = FALSE)
interactive |
Should Cypress be run in the interactive mode? |
Check out: Tutorial: Write end-to-end tests with Cypress to learn how to write end-to-end tests for your Rhino app.
If you want to write end-to-end tests with {shinytest2}
, see our
How-to: Use shinytest2
guide.
None. This function is called for side effects.
if (interactive()) {
# Run the end-to-end tests in the `tests/cypress` directory.
test_e2e()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.