Commit graph

49 commits

Author SHA1 Message Date
Reinier Balt
29e007f9c6 update routing and test for authorized access to all tracks pages 2010-07-30 21:06:12 +02:00
Reinier Balt
bb23a4acba forgot to cleanup the last patch 2010-07-29 18:08:41 +02:00
Reinier Balt
c9be43b2c8 add tests for #886. 2010-07-29 18:06:30 +02:00
Reinier Balt
9c82e9c974 DRY things up a bit 2010-07-28 15:54:18 +02:00
Reinier Balt
abf4524679 add validation to catch empty descriptions 2010-07-28 15:53:19 +02:00
Reinier Balt
6e5057138d add cucumber scenarios for adding multiple next actions 2010-07-28 15:53:18 +02:00
Reinier Balt
c9ce82d533 add cucumber tests for switching single and multiple actions forms 2010-07-28 15:53:18 +02:00
Reinier Balt
7be37eabfc fix context scenario to match new confirm message when deleting a context 2010-07-27 23:35:50 +02:00
Reinier Balt
e2841e31eb finish upgrade of selenium
these were manual cherry-picks of the rails upgrade work.
2010-07-27 23:32:22 +02:00
Reinier Balt
551eab19a5 regenerate cucumber setup 2010-07-27 23:05:23 +02:00
Reinier Balt
157595be50 fix timing issue on context selenium step 2010-07-16 15:38:34 +02:00
Eric Allen
1cd748d7a2 Fix #1041 2010-07-05 09:58:25 -07:00
Eric Allen
f10a98d8ac Test for #1041 2010-07-05 08:26:28 -07:00
Eric Allen
92047e86e4 Test for ticket #1043 2010-07-04 20:13:32 -07:00
Eric Allen
04fb281ecd Typo that newer Gherkin caught 2010-07-04 16:01:41 -07:00
Reinier Balt
51a8e98752 Merge branch 'master' of github.com:bsag/tracks 2010-05-13 18:37:47 +02:00
Eric Allen
92bb54bbf5 Revert "fix cucumber story for drag and drop for dependencies. Was broken since last change of drop target to a hidden img that appears when dragging starts"
This reverts commit 8dbf790810.

Conflicts:

	app/helpers/todos_helper.rb
	features/step_definitions/todo_steps.rb
2010-05-09 18:59:02 -04:00
Reinier Balt
d6e20a76c2 migrate selenium script for integrations page and enhance the story 2010-05-05 19:09:51 +02:00
Reinier Balt
44c61d942a make sure login works for non-selenium cucumber
regression since my last commit
2010-05-05 19:08:41 +02:00
Reinier Balt
a0b642dab3 remove commented lines from last commit 2010-05-05 13:16:54 +02:00
Reinier Balt
f53b386bd1 remove anoying message about login text not found when running cucumber/selenium 2010-05-05 13:15:00 +02:00
Reinier Balt
e1b52aeb13 replace selenium script with cucumber story for switching recurrence option 2010-05-05 13:00:44 +02:00
Reinier Balt
0d7980e87b migrate selenium for users to cucumber 2010-05-03 21:26:48 +02:00
Eric Allen
05cbea50aa Using Rails.env is not the right approach here
All Cucumber stories now passing
2010-04-10 15:31:28 -04:00
Eric Allen
1e4d250a15 Remove debugging print statements 2010-04-10 15:23:38 -04:00
Eric Allen
10fecaca38 Fix failing note deletion tests
Text will remain present because the raw source isn't generated from the
modified DOM.

Also, there were some hard-coded id's in there that have changed.

All Cucumber Selenium tests are now passing.
2010-04-10 15:23:27 -04:00
Eric Allen
6e65435895 Fix failing tests of context deletion
The notice causes the test to think the context name is still displayed.
Fixed by looking for the name plus an opening parenthesis, which doesn't
occur in the notice.
2010-04-10 15:14:56 -04:00
Reinier Balt
3146fa6bd1 refactor dependency cucumber feature to use css. This saves us the extra id on the todo element that I added in the previous commit. 2010-03-25 16:34:01 +01:00
Reinier Balt
025cfa2686 fix cucumber story for markup in project description 2010-03-24 20:45:59 +01:00
Reinier Balt
8dbf790810 fix cucumber story for drag and drop for dependencies. Was broken since last change of drop target to a hidden img that appears when dragging starts
not a trivial one to fix :-)
2010-03-24 17:58:15 +01:00
Reinier Balt
24d8a2b17f reduce timeout in selenium script 2010-03-08 20:36:33 +01:00
Reinier Balt
c0db9b41b9 add scenario to show bug #972
took me a while to figure out that drag_and_drop does not wait for ajax to finish
2010-03-02 11:14:45 +01:00
Reinier Balt
8191268821 add drag and drop feature for dependencies 2010-02-22 11:35:00 +01:00
Reinier Balt
c433661048 the project description could now contain markup, like notes
also configure database_cleaner for selenium features
2010-02-12 12:35:19 +01:00
Reinier Balt
25204f5efa migrate deleting from selenium to cucumber
please note there is still a bug in context_steps for editing the name of a context from the context page. But I want to get these change in for a bug report
2010-02-09 23:26:38 +01:00
Reinier Balt
d945d974a7 remove the last rspec story and migrate it to cucumber. Also remove equivalent selenium script 2010-02-09 10:27:59 +01:00
Reinier Balt
e1c693dfdc get all selenium features to run and fix the badge update for notes 2010-02-06 22:36:13 +01:00
Reinier Balt
226d902127 consume confirmation dialog when deleting note 2010-02-02 23:43:18 +01:00
Reinier Balt
8f349d3b6b set configurations for using cucumber and selenium
if you want to run it, update your database.yml to include cucumber and selenium environments (like in the .tmpl) and run

RAILS_ENV=selenium cucumber -p selenium
2010-02-02 22:52:32 +01:00
Reinier Balt
7a92d3559b get all cucumber stories running for default profile 2010-01-13 21:52:04 +01:00
Reinier Balt
1fab30ff22 create cucumber profile for stories requiring selenium and stories not requiring selenium (=default) 2010-01-13 21:41:21 +01:00
Reinier Balt
4620349db1 update cucumber 2010-01-13 20:39:28 +01:00
Reinier Balt
b28de88f4d forgot to add these files a long time ago 2009-08-05 16:28:06 +02:00
Reinier Balt
8a0da54808 fix cucumber story 2009-06-30 12:22:17 +02:00
Reinier Balt
8002eef8ab finish the feature description for notes. Some scenarios need js handling to implement. They are marked with the tag needsjs
exclude them with cucumber -t ~needsjs
2009-05-25 21:20:50 +02:00
Reinier Balt
149d05e04f add partial feature for notes. needs to be finished 2009-05-25 20:30:20 +02:00
Reinier Balt
2073f84cd8 update cucumber and refactor some of the stories
inspired by the railscasts about cucumber. Also fix a problem with ZenTest on case sensitive platforms
2009-05-22 23:14:40 +02:00
Reinier Balt
6d1f034111 migrate login stories to cucumber features 2009-04-17 08:56:11 +02:00
Reinier Balt
43440eaf33 add cucumber for integration testing and add a feature for statistics
refactor some stuff to support testing statistisc
2009-04-13 22:26:20 +02:00