Skip to content

Latest commit

 

History

History
87 lines (45 loc) · 3.28 KB

README.md

File metadata and controls

87 lines (45 loc) · 3.28 KB

Tally Saves the Internet!

Tally

Tally Saves the Internet! is a browser extension that transforms the data advertisers collect into a multiplayer game. Learn more at tallysavestheinternet.com.

Install the extension

Game play and options

Demo Mode ("Gallery Version")

This game has a demo mode. Reach out if you want to exhibit this game.

Instructions

  • Switch to a user account with admin privileges
  • Select "Demo" in options
  • If sound doesn't play automatically use Chrome Canary with startup flags: /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --autoplay-policy=no-user-gesture-required

Tests

Functional Tests

Functional (a.k.a. "e2e") tests use nightwatch

  • Location: See ./__tests__/nightwatch/tests/tally-tests/*.test.js for tests
  • Documentation: Chai BDD and Nightwatch docs for examples
# install chromedriver to match your version of chrome, for example chrome 96...
npm install chromedriver@96

cd ./__tests__/nightwatch/
npm test

Unit Tests

Unit tests use jest

  • Location: These only run against "pure" functions covered in js/functions/*.test.js
cd ./__tests__/jest/
npm test

More on nightwatch

Other notes