rstudio / shinycoreci-apps

SUPERSEDED - Apps for Shiny continuous integration testing
Other
36 stars 4 forks source link

Initial shinytest tests for themable flexdashboard #197

Open MadhulikaTanuboddi opened 2 years ago

MadhulikaTanuboddi commented 2 years ago

Added shinytest tests for the recent bslib/thematic theming available for flexdashboard.

Ref: https://pkgs.rstudio.com/flexdashboard/articles/theme.html

Individual app/test directories are added and currently covering the following scenarios. Note that in the Rmarkdown output format, we had to specify the bootstrap version to 4. This is because bootstrap 5 does not work well with shinytest. This is a know limitation and Barret is working on shinytest2 to solve this problem

  1. Default or no version specified so that the bootstrap 5 would be the default version. However, due to above limitation, temporarily we set the version to 4
  2. Testing one bootswatch theme. In this case darkly
  3. Testing custom settings i.e primary colors, google fonts etc.

TODO:

cc: @shalutiwari

CLAassistant commented 8 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.