Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-28 09:08:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-28 09:08:11 +0300
commitf8184e504b8aa6f77b42583a9fd08daebbdcc8ab (patch)
tree186be898556eda08cb22065731ac0b26ae6f5353 /spec/features/milestone_spec.rb
parent67e7b5a9ba9f88d4495841cb0457a2dbe3afec55 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/milestone_spec.rb')
-rw-r--r--spec/features/milestone_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/milestone_spec.rb b/spec/features/milestone_spec.rb
index 2a1ea1a4e73..3aaffad314e 100644
--- a/spec/features/milestone_spec.rb
+++ b/spec/features/milestone_spec.rb
@@ -23,7 +23,7 @@ RSpec.describe 'Milestone' do
fill_in "milestone_due_date", with: '2016-12-16'
end
- find('input[name="commit"]').click
+ click_button 'Create milestone'
expect(find('[data-testid="no-issues-alert"]')).to have_content('Assign some issues to this milestone.')
expect(page).to have_content('Nov 16, 2016–Dec 16, 2016')
@@ -49,7 +49,7 @@ RSpec.describe 'Milestone' do
page.within '.milestone-form' do
fill_in "milestone_title", with: milestone.title
end
- find('input[name="commit"]').click
+ click_button 'Create milestone'
expect(find('.gl-alert-danger')).to have_content('already being used for another group or project milestone.')
end
@@ -62,7 +62,7 @@ RSpec.describe 'Milestone' do
page.within '.milestone-form' do
fill_in "milestone_title", with: milestone.title
end
- find('input[name="commit"]').click
+ click_button 'Create milestone'
expect(find('.gl-alert-danger')).to have_content('already being used for another group or project milestone.')
end