diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-10 00:07:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-10 00:07:04 +0300 |
commit | 1bcebb67d554d95aa77d4cf42b22e7c96e1c8527 (patch) | |
tree | 6c1575d053400cc81db2d31e2d565320baae19ee /spec/features | |
parent | 4da595a071829d1046f921e402f3978eeca15d93 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/issues/form_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/issues/form_spec.rb b/spec/features/issues/form_spec.rb index 18942e48400..0700423983f 100644 --- a/spec/features/issues/form_spec.rb +++ b/spec/features/issues/form_spec.rb @@ -187,6 +187,14 @@ RSpec.describe 'New/edit issue', :js do end end + it 'displays an error message when submitting an invalid form' do + click_button 'Create issue' + + page.within('[data-testid="issue-title-input-field"]') do + expect(page).to have_text(_('This field is required.')) + end + end + it 'correctly updates the dropdown toggle when removing a label' do click_button 'Labels' |