Simulating user inputs for R shiny

91 views Asked by At

I have an R shiny app that allows users to upload a dataset, interactively subset it and then save it to the server. I also have several test files that are structured just like the files expected from the future users. I would like to write an automated testing script that uploads one of the datasets, randomly subsets the table (selecting rows in datatable, clicking action buttons) and then clicks a button to save it to the server. The user input to the app should be partly random and I need the clickstream of the user as an output to compare it to the saved dataset.

Is there a way to do this with shinytest or is that just for predefined clickstreams?

0

There are 0 answers