diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-04-05 19:34:16 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-04-05 19:34:16 +0000 |
commit | 4258589d95350c8c5483d12ae1665d9571614771 (patch) | |
tree | bda4f45eb15ff37dfc18393bc66df283f65d5cbf /spec/features | |
parent | b8d0f174224c883d2b6766ba424a7b5ad7f2431e (diff) | |
parent | 4d9d06ec5057c512bd05ab5883ca842c7a3a3c9a (diff) | |
download | gitlab-ce-4258589d95350c8c5483d12ae1665d9571614771.tar.gz |
Merge branch 'note-form-design' into 'master'
Notes form design update
Part of #3401
See merge request !3442
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/issues_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/notes_on_merge_requests_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb index db46657c36a..79000666ccc 100644 --- a/spec/features/issues_spec.rb +++ b/spec/features/issues_spec.rb @@ -22,7 +22,7 @@ describe 'Issues', feature: true do before do visit edit_namespace_project_issue_path(project.namespace, project, issue) - click_link "Edit" + click_button "Go full screen" end it 'should open new issue popup' do diff --git a/spec/features/notes_on_merge_requests_spec.rb b/spec/features/notes_on_merge_requests_spec.rb index d9a8058efd9..70d0864783d 100644 --- a/spec/features/notes_on_merge_requests_spec.rb +++ b/spec/features/notes_on_merge_requests_spec.rb @@ -152,7 +152,7 @@ describe 'Comments', feature: true do it 'has .new_note css class' do page.within('.js-temp-notes-holder') do - expect(subject).to have_css('.new_note') + expect(subject).to have_css('.new-note') end end end @@ -225,6 +225,6 @@ describe 'Comments', feature: true do end def click_diff_line(data = line_code) - page.find(%Q{button[data-line-code="#{data}"]}, visible: false).click + execute_script("$('button[data-line-code=\"#{data}\"]').click()") end end |