AutomatedTester / powerball-platform

An Experiment in Social Networking and QA'ing
http://powerball.theautomatedtester.co.uk
9 stars 1 forks source link

Sent scores are not accounted by the powerball website #49

Closed whimboo closed 12 years ago

whimboo commented 12 years ago

The add-on sends points for some actions done on Bugzilla. But those points are not getting added to the score on the powerball website. As Joel mentioned he is getting a 200 so the data has been transferred correctly. But still, those are not getting counted.

jmaher commented 12 years ago

if you look in the console at the messages it will indicate the bug number, the score and the response. It appears the addon is working just fine and getting a valid response back. Could be a bug in the website just not updating properly.

AutomatedTester commented 12 years ago

just looking for 200 is a really bad idea. Since it has hit a valid url I should reply with 200. The site returns a JSON blob and in there is useful information about success or failure.

see https://github.com/AutomatedTester/powerball-platform/wiki/Submitting-a-Score. in the body we need to parse the JSON and check the result and the message. Also see https://github.com/AutomatedTester/powerball-platform/blob/master/tests/http_tests.js#L113 and the test after it

jmaher commented 12 years ago

ok, found a problem in the addon where it was sending a userid of 'save'. fixed in: http://people.mozilla.org/~jmaher/powerball.xpi