test_e2e: Run Cypress end-to-end tests

View source: R/tools.R

test_e2eR Documentation

Run Cypress end-to-end tests

Description

Uses Cypress to run end-to-end tests defined in the tests/cypress directory. Requires Node.js and the yarn command to be available on the system.

Usage

test_e2e(interactive = FALSE)

Arguments

interactive

Should Cypress be run in the interactive mode?

Value

None. This function is called for side effects.

Examples

if (interactive()) {
  # Run the end-to-end tests in the `tests/cypress` directory.
  test_e2e()
}

kamilzyla/rhino documentation built on May 1, 2022, 7:34 a.m.