Commit 911756ca authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'simplify-before-block-of-a-test' into 'master'

Simplify and shorten before block of a test

See merge request gitlab-org/gitlab!20071
parents 63909dac 8e8f0b32
...@@ -72,13 +72,7 @@ module QA ...@@ -72,13 +72,7 @@ module QA
Page::Group::Menu.perform(&:click_group_members_item) Page::Group::Menu.perform(&:click_group_members_item)
Page::Group::SubMenus::Members.perform do |members_page| Page::Group::SubMenus::Members.perform do |members_page|
members_page.add_member(user.username) members_page.add_member(user.username)
end
Page::Group::SubMenus::Members.perform do |members_page|
members_page.update_access_level(user.username, "Developer") members_page.update_access_level(user.username, "Developer")
end
Page::Group::SubMenus::Members.perform do |members_page|
members_page.remove_member(user.username) members_page.remove_member(user.username)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment