summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-08-28 05:11:21 +0000
committerSanad Liaquat <sliaquat@gitlab.com>2019-08-28 05:11:21 +0000
commit2ad1621c7f7bb7b749f2f4f8d89d84a0f2fbc9f7 (patch)
tree8d6f1ecc1a1feadcf00f4515bc3ee75ffd0999a5 /qa
parentd0a7913b3ad6c51284069ae841975fddc1697499 (diff)
parent7a162e1a8f1f1aeb45fee149c201115f7a7231c9 (diff)
downloadgitlab-ce-2ad1621c7f7bb7b749f2f4f8d89d84a0f2fbc9f7.tar.gz
Merge branch 'qa-restric-access-by-ip-address-spec-ce' into 'master'
CE Backport of EE changes See merge request gitlab-org/gitlab-ce!32203
Diffstat (limited to 'qa')
-rw-r--r--qa/qa.rb4
-rw-r--r--qa/qa/page/group/settings/general.rb18
-rw-r--r--qa/qa/resource/sandbox.rb2
3 files changed, 23 insertions, 1 deletions
diff --git a/qa/qa.rb b/qa/qa.rb
index d25cb5afc9c..2c11df1f15a 100644
--- a/qa/qa.rb
+++ b/qa/qa.rb
@@ -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