diff options
author | Mike Greiling <mike@pixelcog.com> | 2019-04-04 21:53:03 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-04-04 21:53:03 +0000 |
commit | d3b19f6666df0c9d667165b0b765a4aedcf1e44b (patch) | |
tree | b2221323625187db1458520c43fc20519f3ebefc /spec | |
parent | 677a7c811ee723d6c8c0fb8e2dc6e124d7dad028 (diff) | |
parent | 9580c93b829ce53ce51d48ff2495eff7f97e17e4 (diff) | |
download | gitlab-ce-d3b19f6666df0c9d667165b0b765a4aedcf1e44b.tar.gz |
Merge branch '57602-create-cluster-validations' into 'master'
Display cluster form validation error messages inline
Closes #57602
See merge request gitlab-org/gitlab-ce!26502
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/groups/clusters/user_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/projects/clusters/gcp_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/projects/clusters/user_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/groups/clusters/user_spec.rb b/spec/features/groups/clusters/user_spec.rb index 2410cd92e3f..b661b5cbaef 100644 --- a/spec/features/groups/clusters/user_spec.rb +++ b/spec/features/groups/clusters/user_spec.rb @@ -69,7 +69,7 @@ describe 'User Cluster', :js do end it 'user sees a validation error' do - expect(page).to have_css('#error_explanation') + expect(page).to have_css('.gl-field-error') end end end diff --git a/spec/features/projects/clusters/gcp_spec.rb b/spec/features/projects/clusters/gcp_spec.rb index 9322e29d744..83e582c34f0 100644 --- a/spec/features/projects/clusters/gcp_spec.rb +++ b/spec/features/projects/clusters/gcp_spec.rb @@ -92,7 +92,7 @@ describe 'Gcp Cluster', :js do end it 'user sees a validation error' do - expect(page).to have_css('#error_explanation') + expect(page).to have_css('.gl-field-error') end end end diff --git a/spec/features/projects/clusters/user_spec.rb b/spec/features/projects/clusters/user_spec.rb index 1f2f7592d8b..fe4f737a7da 100644 --- a/spec/features/projects/clusters/user_spec.rb +++ b/spec/features/projects/clusters/user_spec.rb @@ -53,7 +53,7 @@ describe 'User Cluster', :js do end it 'user sees a validation error' do - expect(page).to have_css('#error_explanation') + expect(page).to have_css('.gl-field-error') end end end |