Commit graph

478 commits

Author SHA1 Message Date
Eric Allen
b50a1ce26f Fix a couple of test definitions to avoid false test failures
State should be unspecified to default to active

Fixes #977 (again)
2010-05-17 11:02:23 -04:00
Reinier Balt
51a8e98752 Merge branch 'master' of github.com:bsag/tracks 2010-05-13 18:37:47 +02:00
Reinier Balt
cfc6d117b8 fix #1027. Several tests were broken because of the more strict validations on the recurring_todo model 2010-05-13 18:24:26 +02:00
Reinier Balt
d6e20a76c2 migrate selenium script for integrations page and enhance the story 2010-05-05 19:09:51 +02:00
Reinier Balt
a26142e336 Merge branch 'selenium-migrations' into vacation-work 2010-05-05 15:27:19 +02:00
Reinier Balt
eef1b6b7a9 remove selenium scripts that were already converted to cucumber 2010-05-05 13:19:26 +02:00
Reinier Balt
73631e6083 Merge branch 'selenium-migrations' into vacation-work 2010-05-05 13:02:27 +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
Reinier Balt
5c25e4569e fix #1002. every nth week was off by one week for recurring weekly todos. Thanks Thomas for spotting this.
Updated the wrong test too.
2010-05-02 18:16:29 +02:00
Eric Allen
a022f449c1 Fixed failing tests
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed

Closes #1019
2010-04-09 09:34:57 -04: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
Eric Allen
761810cf7f Merge branch 'cas' 2010-01-14 09:46:20 -08:00
Reinier Balt
022a94f686 fix test where today and show_from did not have the same timezone and add test for OneNote links inspired by the tests for Mail.app links 2010-01-13 21:17:17 +01:00
Patrice Neff
5299490c83 Linkify message:// URLs in notes. Those links are used by Mail.app on
Mac OS X to link to a mail message by message id.
2010-01-10 08:34:10 +08:00
Eric Allen
9ddd5c5d2a Correct context hiding behavior in tag view
Fixes #952
2009-12-20 13:05:42 -05:00
Erik Ordway
d5c16db975 Rough selenium test files
with good names
2009-12-20 12:01:25 -05:00
Erik Ordway
00d06b7a00 start adding test fixtures 2009-12-18 09:40:12 -05:00
Eric Allen
e17b495b95 Fix annoying test
Waiting for the flash to hide just wastes seconds
2009-12-16 17:43:57 -05:00
Eric Allen
21de49c87a Show context on un-hidden successor. Fixes #964
Added another todo fixture, which broke some assertions that I had to fix
2009-12-16 17:42:42 -05:00
Eric Allen
93b83e8682 Dependency testing at Selenium level 2009-12-16 17:04:49 -05:00
Eric Allen
3e177c7b81 Remove some tests we can no longer run
See #965 for rationale and updates
2009-12-08 12:36:00 -05:00
Eric Allen
828201dfe0 Fix some failing tests 2009-12-07 22:43:00 -05:00
Eric Allen
0dfb1aafda The syntax of assert_difference has changed
You pass it a string now, instead of an object and a method
2009-12-07 18:41:23 -05:00
Eric Allen
6181d42072 A few tweaks to get tests running 2009-12-07 18:29:57 -05:00
Eric Allen
34aeb83891 Merge branch 'deps' 2009-11-26 02:04:54 -05:00
Eric Allen
7883145bdb Fixed recurring todo input form behavior
The form for new recurring todos has different id's, causing it to not
get the awesome JavaScript. Duplicated to make it work.
2009-11-26 02:04:39 -05:00
Eric Allen
c6249bad0c Fixed some failing Selenium selectors 2009-11-25 15:48:00 -05:00
Michaël Witrant
c679593d1e fixed url parsing when they contain a slash in query string 2009-11-24 19:06:13 +08:00
Eric Allen
c1dfeaf0f2 Deleting the last todo should hide a context 2009-10-30 15:20:06 -04:00
Eric Allen
290fa3351c Sped up a couple of tests 2009-10-16 23:54:50 -04:00
Eric Allen
bfc6189611 Project default tags 2009-10-16 19:23:03 -04:00
Eric Allen
94ec1d46bb Add note working again for Projects 2009-10-15 21:16:22 -04:00
Eric Allen
00da0b36aa Fixed a latent time zone bug in tests.
I created a new method accessible to all tests for forcing a user to the local time zone. The code was cribbed from Rails's rake tasks time:zones:local.
2009-10-13 23:39:36 -04:00
Eric Allen
fe52c0ab3c Fixed some failing tests and removed dead ones. 2009-10-13 23:38:25 -04:00
Eric Allen
96f510abd4 ALL SELENIUM TESTS PASSING!!
Caught a couple of things that I had to fix plus a handful of broken tests. This is the first time in forever that we have a fully successful selenium suite.
2009-10-13 22:34:37 -04:00
Eric Allen
e32b23c615 Fixed a bunch of tests 2009-10-09 21:27:27 -04:00
Eric Allen
86de0a1290 A whole bunch more Selenium tests working 2009-10-07 16:32:34 -04:00
Eric Allen
eac798d0bf Got one Selenium test working 2009-10-02 18:55:23 -04:00
Eric Allen
66de0f9fd8 Don't set time to UTC for midnight in test.
This was causing an intermittent test failure in GMT-4.
2009-09-02 09:59:16 -04:00
Eric Allen
5a148bc6db Gems should be specified in environment, not test_helper, in newer Rails 2009-08-31 19:42:16 -04:00
Reinier Balt
4ed5567885 get tests running again 2009-08-05 21:00:41 +02:00
Reinier Balt
7a7862221d get tests running again with zentest >= 4.0.0 2009-06-02 21:22:50 +02:00
piglop
4e1e18da0f fixed #781:
* added a "show always" radio to the recurring todo forms
* added a show_always flag to recurring todos
* created a migration to convert existing recurring todos where show_from_delta==0
* recurring todos where show_from_delta is 0 are now shown the same day they're due

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-06-03 01:36:20 +08:00
Reinier Balt
149d05e04f add partial feature for notes. needs to be finished 2009-05-25 20:30:20 +02:00
Eric Allen
26c94551cd Fix bug in tests introduced by dd5b479c5d 2009-05-03 23:19:25 -04:00
Reinier Balt
2f8b454ac0 fix some failing tests 2009-04-19 00:18:12 +02:00
Reinier Balt
239b38cb15 fix for the two issues in #852
* the end date is prefilled with an incorrect formatted date
* if the radio for ends_on is not selected, but a date is entered, tracks incorrectly behaves as if ends_on was checked
2009-04-01 13:51:36 +02:00
Eric Allen
dbeb793214 Support dispatching emailed-in todos based on To: field as well as From: field. Setting configured in site.yml. 2009-03-29 19:44:43 -04:00