diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /spec/features/projects/ci/lint_spec.rb | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/features/projects/ci/lint_spec.rb')
-rw-r--r-- | spec/features/projects/ci/lint_spec.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/spec/features/projects/ci/lint_spec.rb b/spec/features/projects/ci/lint_spec.rb index eb2efb4357d..466c7ba215e 100644 --- a/spec/features/projects/ci/lint_spec.rb +++ b/spec/features/projects/ci/lint_spec.rb @@ -11,7 +11,6 @@ RSpec.describe 'CI Lint', :js do let(:content_selector) { '.content .view-lines' } before do - stub_feature_flags(ci_lint_vue: false) project.add_developer(user) sign_in(user) @@ -26,7 +25,6 @@ RSpec.describe 'CI Lint', :js do describe 'YAML parsing' do shared_examples 'validates the YAML' do before do - stub_feature_flags(ci_lint_vue: false) click_on 'Validate' end @@ -68,14 +66,6 @@ RSpec.describe 'CI Lint', :js do it_behaves_like 'validates the YAML' end - - describe 'YAML revalidate' do - let(:yaml_content) { 'my yaml content' } - - it 'loads previous YAML content after validation' do - expect(page).to have_field('content', with: 'my yaml content', visible: false, type: 'textarea') - end - end end describe 'YAML clearing' do @@ -89,7 +79,7 @@ RSpec.describe 'CI Lint', :js do end it 'YAML content is cleared' do - expect(page).to have_field('content', with: '', visible: false, type: 'textarea') + expect(page).to have_field(class: 'inputarea', with: '', visible: false, type: 'textarea') end end end |