Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-15 18:16:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-15 18:16:18 +0300
commit5e8d344de5658ace62c367fc19256488416cdc49 (patch)
tree5a54f9bdb0c0107d43e7d92181a753b908cfd173 /spec/features/groups
parent792ffb0daf235b6150f696fc1b5ea63fc9845b94 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/groups')
-rw-r--r--spec/features/groups/group_runners_spec.rb14
1 files changed, 13 insertions, 1 deletions
diff --git a/spec/features/groups/group_runners_spec.rb b/spec/features/groups/group_runners_spec.rb
index 3c4b8a01c13..514110d78ae 100644
--- a/spec/features/groups/group_runners_spec.rb
+++ b/spec/features/groups/group_runners_spec.rb
@@ -16,10 +16,12 @@ RSpec.describe "Group Runners", feature_category: :runner_fleet do
end
describe "Group runners page", :js do
- describe "runners registration" do
+ describe "legacy runners registration" do
let_it_be(:group_registration_token) { group.runners_token }
before do
+ stub_feature_flags(create_runner_workflow_for_namespace: false)
+
visit group_runners_path(group)
end
@@ -194,6 +196,16 @@ RSpec.describe "Group Runners", feature_category: :runner_fleet do
end
end
+ describe "Group runner create page", :js do
+ before do
+ visit new_group_runner_path(group)
+ end
+
+ it_behaves_like 'creates runner and shows register page' do
+ let(:register_path_pattern) { register_group_runner_path(group, '.*') }
+ end
+ end
+
describe "Group runner show page", :js do
let_it_be(:group_runner) do
create(:ci_runner, :group, groups: [group], description: 'runner-foo')