diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-01-26 17:38:55 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-01-26 17:38:55 +0800 |
commit | e35be13ea4faceae3499d6779b3c193887d0de5b (patch) | |
tree | 7010301245dfc67f2595a4d53e5e5419b9c4435a | |
parent | b54beca7ab3bdf47a3b44be70d7986a3870a794c (diff) | |
download | gitlab-ce-e35be13ea4faceae3499d6779b3c193887d0de5b.tar.gz |
Pick the EE version for this file
-rw-r--r-- | qa/qa/page/project/settings/common.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qa/qa/page/project/settings/common.rb b/qa/qa/page/project/settings/common.rb index 5bed873b5df..c7955124ef3 100644 --- a/qa/qa/page/project/settings/common.rb +++ b/qa/qa/page/project/settings/common.rb @@ -3,11 +3,11 @@ module QA module Project module Settings module Common - def expand(element_name) - page.within('#content-body') do - click_element(element_name) - - yield + def self.included(base) + base.class_eval do + view 'app/views/projects/edit.html.haml' do + element :advanced_settings_expand, "= expanded ? 'Collapse' : 'Expand'" + end end end |