https://github.com/appsilon/shiny.e2e
https://github.com/appsilon/shiny.e2e
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/appsilon/shiny.e2e
- Owner: Appsilon
- Created: 2019-10-28T10:15:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-27T14:49:53.000Z (over 4 years ago)
- Last Synced: 2025-06-05T13:48:15.854Z (7 months ago)
- Language: R
- Size: 20.5 KB
- Stars: 0
- Watchers: 25
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Note: the tool is still in progress and not production ready.
## Installation of system requirements
```
apt-get install -y curl gnupg bzip2 && \
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - && \
apt-get install -y nodejs && \
npm install -g backstopjs --unsafe-perm
```
Google Chrome
```
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install
```
## How to start?
1. Go to application directory.
2. Prepare tests structure with:
```
make_structure()
```
3. Define new scenario with provided label:
```
define_scenario("load-app")
```
You can leave the template that tests ready application screen or create your own one.
To make it simpler you can use:
https://chrome.google.com/webstore/detail/puppeteer-recorder/djeegiggegleadkkbgopoonhjimgehda
4. Create test scenario:
```
run_scenario("load-app", action = "reference")
```
5. Perform test:
```
run_scenario("load-app")
```