Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dweber019/engery-star-night-quiz-bot
This repo contains a cypress bot for the energy star night quiz.
https://github.com/dweber019/engery-star-night-quiz-bot
Last synced: 12 days ago
JSON representation
This repo contains a cypress bot for the energy star night quiz.
- Host: GitHub
- URL: https://github.com/dweber019/engery-star-night-quiz-bot
- Owner: dweber019
- License: mit
- Created: 2017-11-29T13:51:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T08:36:33.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T17:13:04.783Z (26 days ago)
- Language: JavaScript
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Energy Star Night Quiz Bot
## Installation
[Download](https://www.cypress.io/) cypress and install.
Clone this repository and open the root of the cloned folder in cypress.
# ESN 2017
## Settings### Number of tries
Open `cypress/integration/esn_spec.js` and change `let maxTrys = 100;` to the number you like to run the quiz.### JWT Token
Open `cypress/integration/esn_spec.js` and change `cy.setCookie('jwt-token', '')` and enter your token.
You can get your token by opening the Energy Star Night game and use the develop tools to get the token.# ESN 2019
Start the bot by `yarn install` and `npm start`.Start the test `esn_19_spec.js`. Login but don't us a socal login as this doesn't work with cypress.
After the login there is a `Game starten` button, if you see this button hit the play button in the cypress toolbar.The test has to wait for 30 seconds after each try as ESN has implemented rate limiting.