Tyler Renelle
ada926de9a
test(quests): change quest testing from vice1 => vice3 (ps, I'm doing
...
this to test drop types separately, preferable if we can us all 3 tests
- this & previous commits)
2014-01-31 15:06:57 -07:00
Tyler Renelle
e3e5399584
test(quests): change quest tests from gryphon => vice1
2014-01-31 15:06:56 -07:00
Dušan Juretić
117c26cfd3
Added tests for translations (env.t)
2014-01-25 21:01:43 -03:00
Tyler Renelle
e0646bb98d
fix(spells): add some spells tests, don't send up body to spell paths
2014-01-22 00:16:52 -08:00
Tyler Renelle
990c3aa762
test(quests): make sure other members get drop
2014-01-21 15:59:53 -08:00
Tyler Renelle
f478d10c20
fix(quests): bug fix to multi-drop
2014-01-21 15:08:11 -08:00
Tyler Renelle
d9e5725ee1
feat(quests): allow quests to drop multiple items
2014-01-21 13:13:15 -08:00
Tyler Renelle
f71d6957e8
test(quests): test quest drops
2014-01-21 13:07:33 -08:00
Tyler Renelle
18e98abfa1
test(quests): ensure non-questers don't get hurty by boss on cron #2249
2014-01-21 12:45:18 -08:00
Tyler Renelle
07bca1f265
test(quests): start adding quests/bosses quests. Unfortunately it failes because it() is parallel, but Im trying to have each it() setup for the next. Gotta figure somethign out
2014-01-21 09:51:38 -08:00
Tyler Renelle
4efd0f5ed8
fix(bosses): don't reset progress.up when starting a new quest. We want
...
to be able to carry over damage from the same day a boss battle begins,
even if the dailies were completed before battle-start. Fixes #2168
2014-01-20 16:40:48 -08:00
Tyler Renelle
9cdf6b5e34
chore(todos): add tests for 3-day todo archiving #2478
2014-01-19 17:39:50 -08:00
Dušan Juretić
efdd85fe2e
Using newUser helper in tests
2014-01-18 20:42:28 -03:00
Dušan Juretić
bca13b5557
First root controller test
2014-01-18 20:42:28 -03:00
Tyler Renelle
29b1320f4a
chore(archived tests) Moving unused tests, casper stuff, and
...
api.mocha.coffee into archive directory. we could depend on git history,
but I want to keep them publicly visible to developers for now since
they may contain valuable test worth porting to our new
setup.
2014-01-16 16:32:53 -07:00
Andrew Bloomgarden
f94ea084d7
Update README to account for API tests in JS.
2014-01-15 21:34:36 -08:00
Andrew Bloomgarden
c9e3b37ff8
Rewrite API tests in normal JS.
2014-01-15 21:34:36 -08:00
Andrew Bloomgarden
689dddee7f
Actually wait for Selenium to start.
2014-01-15 21:34:20 -08:00
Andrew Bloomgarden
dc368bb652
Remove references to $rootScope.Shared & .Content in non-view code.
...
Instead, have them request services that return them so tests don’t need to prepare special state.
2014-01-15 21:33:58 -08:00
Andrew Bloomgarden
77801e458e
Change static module name to habitrpgStatic.
...
The way the tests are written now, the habitrpg module definition in static.js
was clobbering the one in app.js. In other words, most of the tests weren't
testing what they thought they were testing.
2014-01-15 21:33:57 -08:00
Matteo Pagliazzi
263a752abf
add mocha tests to travis, remove makefile
2014-01-15 20:11:29 +01:00
Dušan Juretić
74495bb690
Fix tag creation test
2014-01-13 23:20:33 -03:00
Dušan Juretić
f7f9bb1131
Fix memberServices test
2014-01-13 23:09:11 -03:00
Tyler Renelle
a326072858
start adding quests tests
2014-01-05 15:08:10 -07:00
Tyler Renelle
e474278ab3
groups: upon group-creation, creator is automatically assigned as leader
...
and only member. Remove sending up leader & members from the client,
should all be handled on the server
2014-01-05 15:08:10 -07:00
Dušan Juretić
aa0a515e5e
Tests for filtersCtrl
2014-01-04 22:40:57 -03:00
Dušan Juretić
4777a693ba
Test refactoring: user.user -> user
2014-01-04 17:35:45 -03:00
Dušan Juretić
a74e99a78f
Minor style changes to inventoryCtrlSpec.js
2014-01-04 17:32:30 -03:00
Dušan Juretić
a4c7775d51
Tests for choosing a pet and buying an egg
2014-01-04 17:28:13 -03:00
Dušan Juretić
24815af9c1
Added inventoryCtrl tests for hatching and selling
2014-01-04 00:02:51 -03:00
Dušan Juretić
d58568c9d8
Fix AuthCtrl tests with proper asserts
2014-01-03 23:28:43 -03:00
Tyler Renelle
9a6f0c0339
challenges: don't remove To-Dos that are part of a challenge when
...
clearing completed
2014-01-03 14:18:53 -07:00
Tyler Renelle
c9e083b602
challenges: add "official habitrpg challenge" option
2014-01-03 13:36:13 -07:00
Tyler Renelle
abd300199a
challenges: allow members to override challenge.tasks.notes, and sycning
...
challenge won't update those notes.
2014-01-03 13:10:56 -07:00
Tyler Renelle
6d8e4ed8a2
tests: api.mocha.coffee cleanup WIP
2014-01-03 10:26:46 -07:00
Tyler Renelle
2c1eb955ac
fix #1954 . Start updating API tests, beginning with challenges. Use
...
test to fix "challenge updates not updating users' tasks"
2014-01-03 00:01:24 -07:00
Dušan Juretić
ae080fd474
Tests for inventoryCtrl
2014-01-02 22:49:31 -03:00
Dušan Juretić
803a45b47f
Test server port changed to 3001
2014-01-01 14:01:51 -03:00
Dušan Juretić
431622ce14
E2e tests: launch Selenium and node server and kill them after finishing the tests, using a test database
2014-01-01 14:01:51 -03:00
Dušan Juretić
69c4977511
Fix again e2e test
2014-01-01 14:01:51 -03:00
Dušan Juretić
c572a195aa
Take screenshot of failed e2e tests
2014-01-01 14:01:51 -03:00
Dušan Juretić
87e7b2ead6
Fix build by giving more time to Protractor
2014-01-01 14:01:51 -03:00
Dušan Juretić
a6443bceb8
Fix build
2014-01-01 14:01:51 -03:00
Dušan Juretić
91b0f3fb96
E2e testing: added tests for failed login and register new user
2014-01-01 14:01:51 -03:00
Dušan Juretić
462bc416de
Starting e2e testing
2014-01-01 14:01:23 -03:00
Dušan Juretić
6ab10f9f3d
Fix unit tests
2013-12-23 22:38:15 -03:00
Dušan Juretić
9f32d3e7b8
Fix userServicesSpecs by adding notificationServices
2013-12-15 16:49:53 -03:00
Dušan Juretić
34ea6038f1
add single test for notificationServices
2013-11-15 22:42:30 -03:00
Dušan Juretić
2f5025e322
add tests for groupServices
2013-11-15 22:42:30 -03:00
Dušan Juretić
f4ac5dfe8c
fix unit tests
2013-10-31 22:35:35 -03:00