summaryrefslogtreecommitdiff
path: root/spec/features/issues_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-01-06 18:08:28 +0000
committerPhil Hughes <me@iamphill.com>2017-02-06 09:25:11 +0000
commit5942247dd6f73f5e92a3c635873e62d0efbf9ea8 (patch)
treeddf7d9e7c5e194d83b11b3e14ddf33f03e109e4b /spec/features/issues_spec.rb
parent8331036944cc6b7cc376b464eae353882f125113 (diff)
downloadgitlab-ce-5942247dd6f73f5e92a3c635873e62d0efbf9ea8.tar.gz
Fixed missing edit link click
Diffstat (limited to 'spec/features/issues_spec.rb')
-rw-r--r--spec/features/issues_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index bee07d40efe..755162a1eb5 100644
--- a/spec/features/issues_spec.rb
+++ b/spec/features/issues_spec.rb
@@ -635,8 +635,10 @@ describe 'Issues', feature: true do
end
it 'removes due date from issue' do
+ date = Date.today.at_beginning_of_month + 2.days
+
page.within '.due_date' do
- date = Date.today.at_beginning_of_month + 2.days
+ click_link 'Edit'
page.within '.pika-single' do
click_button date.day