fpoppinga / kicktipp-bot Goto Github PK
View Code? Open in Web Editor NEWYou're invited for a kicktipp game, but don't know anything about soccer? No problem, just let this bot guess for you.
You're invited for a kicktipp game, but don't know anything about soccer? No problem, just let this bot guess for you.
Hi @fpoppinga
I wanted to use your bot (for the world championship).
But your script fails to login to kicktipp.
The script doest find/get the .messagebox.success div.
Im not sure what is the cause of this, credentials should be correct in the .env File (double checked that).
See logs for more info:
yarn start
yarn run v1.3.2
$ yarn build && yarn run nightwatch
$ tsc
$ nightwatch
Before!
[Kicktipp] Test Suite
=========================
Running: login
:starkes_häkchen: Element <#kennung> was visible after 32 milliseconds.
:starkes_häkchen: Element <#passwort> was visible after 21 milliseconds.
:starkes_häkchen: Element <.formsubmit input[type="submit"]> was visible after 24 milliseconds.
:starkes_malzeichen_x: Timed out while waiting for element <.messagebox.success> to be present for 15000 milliseconds. - expected "visible" but got: "not found"
at Page.assertLoginSuccessful (/Users/iot/kicktipp-bot/dist/pages/homepage.js:4:21)
at Object.login (/Users/iot/kicktipp-bot/dist/tests/kicktipp.js:23:14)
FAILED: 1 assertions failed and 3 passed (19.683s)
_________________________________________________
TEST FAILURE: 1 assertions failed, 3 passed. (19.771s)
:starkes_malzeichen_x: kicktipp
- login (19.683s)
Timed out while waiting for element <.messagebox.success> to be present for 15000 milliseconds. - expected "visible" but got: "not found"
at Page.assertLoginSuccessful (/Users/iot/kicktipp-bot/dist/pages/homepage.js:4:21)
at Object.login (/Users/iot/kicktipp-bot/dist/tests/kicktipp.js:23:14)
SKIPPED:
- predict
- end
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Any ideas?
Could you update it for the current Bundesliga season? It only fills out the first page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.