BigW Consortium Gitlab
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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
commits | Loading commit data... | |
issues | Loading commit data... | |
source | Loading commit data... | |
active_tab.rb | Loading commit data... | |
archived.rb | Loading commit data... | |
create.rb | Loading commit data... | |
deploy_keys.rb | Loading commit data... | |
fork.rb | Loading commit data... | |
forked_merge_requests.rb | Loading commit data... | |
graph.rb | Loading commit data... | |
hooks.rb | Loading commit data... | |
merge_requests.rb | Loading commit data... | |
network_graph.rb | Loading commit data... | |
project.rb | Loading commit data... | |
project_shortcuts.rb | Loading commit data... | |
redirects.rb | Loading commit data... | |
services.rb | Loading commit data... | |
snippets.rb | Loading commit data... | |
star.rb | Loading commit data... | |
team_management.rb | Loading commit data... | |
wiki.rb | Loading commit data... |