This repository contains files for many purposes.
Copy this script to web/react-webpack/test and execute it to run a command repeatedly and to show how many times it has succed or failed. It's useful to verify instability in automated tests. You should run it inside webpack container. Usage example:
# enter webpack container bash
docker-compose exec webpack /bin/bash
# run help.spec.js test case 5 times
./test/run_many_times.sh 'yarn test:integration:singleuser:single test/integration/home/help.spec.js' 5This script is only for users running on Linux.
Execute this script to open Vinagre VNC to connect to chrome containers when running integration tests locally.
When you are prompted for the password, it is secret, as specified in the "docker-selenium" github page,
Enter in any repo and run this command to count lines of code in the repo. It will show the number of lines of code for each language and the total number of lines of code.
# install cloc if not installed
sudo apt install cloc