Commit d1ea3eda authored by Sanad Liaquat's avatar Sanad Liaquat

Move enabling of invite members group modal feature flag

parent 6ff6a7fe
......@@ -5,6 +5,7 @@ module QA
describe 'Add project member' do
before do
Runtime::Feature.enable('vue_project_members_list')
Runtime::Feature.enable(:invite_members_group_modal)
end
after do
Runtime::Feature.disable('vue_project_members_list')
......@@ -19,8 +20,6 @@ module QA
project.name = 'add-member-project'
end
Runtime::Feature.enable(:invite_members_group_modal)
project.visit!
Page::Project::Menu.perform(&:click_members)
......
......@@ -31,8 +31,7 @@ module QA
end
before do
Runtime::Feature.enable(:invite_members_group_modal, group: source_group_with_members)
Runtime::Feature.enable(:invite_members_group_modal, group: target_group_with_project)
Runtime::Feature.enable(:invite_members_group_modal)
source_group_with_members.add_member(maintainer_user, Resource::Members::AccessLevel::MAINTAINER)
end
......
......@@ -5,6 +5,8 @@ module QA
context 'Push Rules' do
describe 'using non signed commits' do
before(:context) do
Runtime::Feature.enable(:invite_members_group_modal)
prepare
@file_name_limitation = 'denied_file'
......@@ -213,8 +215,6 @@ module QA
project.name = 'push_rules'
end
Runtime::Feature.enable(:invite_members_group_modal, project: @project)
Resource::Repository::ProjectPush.fabricate! do |push|
push.project = @project
push.files = standard_file
......
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