Commit graph

18 commits

Author SHA1 Message Date
Ciro Santilli
67b06e7a9b Change always passing visible true tests to false. 2015-01-02 00:20:19 +01:00
Vinnie Okada
7a5072c5a8 Fix test assertions
Make sure we're asserting the correct thing when testing visible and
invisible DOM elements.
2014-10-21 23:29:31 -05:00
Vinnie Okada
74c82ae325 Fix houndci warnings 2014-10-18 18:24:12 -05:00
Vinnie Okada
e06f0ead98 Fix Markdown preview tests
Update Spinach tests for Markdown previews for the new-ish tab UI that
replaced the old preview/edit toggle button.
2014-10-18 18:07:23 -05:00
Vinnie Okada
e1491465de Refactor Markdown preview tests
Create a new shared module for common issue/merge request behavior,
use `expect` syntax instead of `should`, and avoid `visible: false` in
the `have_css` matcher.
2014-10-18 17:58:34 -05:00
Vinnie Okada
5700842ba8 Add Markdown preview to more forms
Enable Markdown previews when creating and editing issues, merge
requests, and milestones, and when editing notes.
2014-10-15 23:52:33 -05:00
Ciro Santilli
778afb699f Replace javascript:; links with buttons. 2014-09-22 21:01:19 +02:00
Ciro Santilli
ef6e94e37e Replace old spinach step definitions with step. 2014-09-22 10:01:50 +02:00
Dmitriy Zaporozhets
5a68c20fba
Fix MR factory and some MR tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31 18:07:24 +03:00
Dmitriy Zaporozhets
69baa3afb2
Dont render difscussion for commit diffs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-24 20:22:33 +03:00
Dmitriy Zaporozhets
ef933ae69b
Even more tests fixed :)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-24 14:41:13 +03:00
Dmitriy Zaporozhets
6c8a17d06d
Fix diff tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-24 12:17:39 +02:00
Dmitriy Zaporozhets
1743cbf1d8 Update capybara to 2.1, poltergeist to master 2013-04-11 10:45:18 +03:00
Dmitriy Zaporozhets
42ce2c1080 improve selectors to pass capybara 2.0 2013-02-21 11:27:22 +02:00
Koen Punt
e33debc214 Updated commit diff view with some minor visual modifications
Prepared diff view for multiple view modes

Converted commits.js to coffeescript
image info in separate coffeescript file

Added swipe view mode

Added onion skin viewMode
2013-01-27 18:27:32 +01:00
Dmitriy Zaporozhets
953db8477e More fixes for test 2013-01-15 14:28:04 +02:00
Dmitriy Zaporozhets
ac983319d3 fixing some test 2013-01-15 12:42:54 +02:00
Riyad Preukschas
d28176b132 Replace commit diff note request specs with spinach features 2013-01-15 00:52:57 +01:00