summaryrefslogtreecommitdiff
path: root/spec/features/groups_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-28 15:58:39 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-28 16:13:20 +0300
commitba6384e7c7aedc2402fee8d6f2feeee743e5c14f (patch)
tree5e726688a896212ec63da7632e6c285e9386e22b /spec/features/groups_spec.rb
parent35a02dc38c5f51f53507d51b6adc2756ca547027 (diff)
downloadgitlab-ce-ba6384e7c7aedc2402fee8d6f2feeee743e5c14f.tar.gz
Redesign group settings page into expandable sections
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features/groups_spec.rb')
-rw-r--r--spec/features/groups_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/groups_spec.rb b/spec/features/groups_spec.rb
index c1f3d94bc20..185770c312f 100644
--- a/spec/features/groups_spec.rb
+++ b/spec/features/groups_spec.rb
@@ -141,8 +141,10 @@ feature 'Group' do
end
it 'saves new settings' do
- fill_in 'group_name', with: new_name
- click_button 'Save group'
+ page.within('.as-general') do
+ fill_in 'group_name', with: new_name
+ click_button 'Save group'
+ end
expect(page).to have_content 'successfully updated'
expect(find('#group_name').value).to eq(new_name)