diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-08-27 10:48:04 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-08-27 10:48:04 +0500 |
commit | 7a162e1a8f1f1aeb45fee149c201115f7a7231c9 (patch) | |
tree | 98f9630312312cdf9a08828439f0d0034816b211 /qa | |
parent | 4d4e88df01554336daf245a68653b80ca00989a5 (diff) | |
download | gitlab-ce-7a162e1a8f1f1aeb45fee149c201115f7a7231c9.tar.gz |
CE Backport of EE changesqa-restric-access-by-ip-address-spec-ce
Add qa selector elements and files from the EE branch
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa.rb | 4 | ||||
-rw-r--r-- | qa/qa/page/group/settings/general.rb | 18 | ||||
-rw-r--r-- | qa/qa/resource/sandbox.rb | 2 |
3 files changed, 23 insertions, 1 deletions
@@ -160,6 +160,10 @@ module QA module Group autoload :New, 'qa/page/group/new' autoload :Show, 'qa/page/group/show' + + module Settings + autoload :General, 'qa/page/group/settings/general' + end end module File diff --git a/qa/qa/page/group/settings/general.rb b/qa/qa/page/group/settings/general.rb new file mode 100644 index 00000000000..07b421f154a --- /dev/null +++ b/qa/qa/page/group/settings/general.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module QA + module Page + module Group + module Settings + class General < QA::Page::Base + view 'app/views/groups/edit.html.haml' do + element :permission_lfs_2fa_section + end + view 'app/views/groups/settings/_permissions.html.haml' do + element :save_permissions_changes_button + end + end + end + end + end +end diff --git a/qa/qa/resource/sandbox.rb b/qa/qa/resource/sandbox.rb index e2b1c4c0831..6eff0e87ddc 100644 --- a/qa/qa/resource/sandbox.rb +++ b/qa/qa/resource/sandbox.rb @@ -7,7 +7,7 @@ module QA # creating it if it doesn't yet exist. # class Sandbox < Base - attr_reader :path + attr_accessor :path attribute :id |