gitlab/features/steps/project
Dmitriy Zaporozhets cd6baa1415 Merge branch 'line-is-wrong-test' into 'master'
Make test element selection more specific to fix constantly failing test.

Fixes #2051.

The problem was that there were two `.note-text` elements matching `.files [id^=diff]:nth-child(2) .note-text`, one for the new comment, and one for the (currently hidden) new comment form. The latter one was selected but currently invisible, triggering the following error in poltergeist:

> The element you are trying to interact with is either not part of the DOM, or is not currently visible on the page (perhaps display: none is set). It's possible the element has been replaced by another element and you meant to interact with the new element. If so you need to do a new 'find' in order to get a reference to the new element.

This caused the test to fail.

See merge request !1592
2015-02-26 02:57:22 +00:00
..
commits Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
issues Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
source WebEditor: save to new branch: spinach 2015-02-24 11:43:20 +02:00
active_tab.rb Fix active tab tests 2015-02-19 17:24:34 -08:00
archived.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
create.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
deploy_keys.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
fork.rb Improve fork to namespaces feature 2014-11-14 16:06:39 +02:00
forked_merge_requests.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
graph.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
hooks.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
merge_requests.rb Make test element selection more specific. 2015-02-25 11:01:50 +01:00
network_graph.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
project.rb Split up AttachmentUploader. 2015-02-20 15:19:50 +01:00
project_shortcuts.rb Prefix Spinach features with Spinach::Features::. 2014-09-22 16:30:25 +02:00
redirects.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
services.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
snippets.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
star.rb Remove unnecessary page. from tests. 2014-09-26 09:51:17 +02:00
team_management.rb Merge branch 'spinach-step' of https://github.com/cirosantilli/gitlabhq into cirosantilli-spinach-step 2014-09-22 20:56:12 +03:00
wiki.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00