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/project_group_variables_spec.rb | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/features/project_group_variables_spec.rb')
-rw-r--r-- | spec/features/project_group_variables_spec.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/features/project_group_variables_spec.rb b/spec/features/project_group_variables_spec.rb index e964a7def14..d8eba20ac18 100644 --- a/spec/features/project_group_variables_spec.rb +++ b/spec/features/project_group_variables_spec.rb @@ -24,7 +24,6 @@ RSpec.describe 'Project group variables', :js do sign_in(user) project.add_maintainer(user) group.add_owner(user) - stub_feature_flags(new_variables_ui: false) end it 'project in group shows inherited vars from ancestor group' do @@ -53,9 +52,13 @@ RSpec.describe 'Project group variables', :js do it 'project origin keys link to ancestor groups ci_cd settings' do visit project_path + find('.group-origin-link').click - page.within('.js-ci-variable-list-section .js-row:nth-child(2)') do - expect(find('.js-ci-variable-input-key').value).to eq(key1) + + wait_for_requests + + page.within('.ci-variable-table') do + expect(find('.js-ci-variable-row:nth-child(1) [data-label="Key"]').text).to eq(key1) end end end |