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-24 15:08:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 15:08:36 +0300
commit4720346c2e10e1ff62a20b39dfc9866eb88858e6 (patch)
tree1b277cb86d928b3372a714d21b5e068c5b9d66f1 /spec/features/groups
parent028c7bdc315c3770f2ccc86f1100d90a5f702cad (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/groups')
-rw-r--r--spec/features/groups/group_settings_spec.rb6
-rw-r--r--spec/features/groups/packages_spec.rb2
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/groups/group_settings_spec.rb b/spec/features/groups/group_settings_spec.rb
index bb61431d773..6443f4a6c38 100644
--- a/spec/features/groups/group_settings_spec.rb
+++ b/spec/features/groups/group_settings_spec.rb
@@ -74,7 +74,7 @@ RSpec.describe 'Edit group settings', feature_category: :subgroups do
visit new_project_full_path
expect(page).to have_current_path(new_project_full_path, ignore_query: true)
- expect(find('.breadcrumbs')).to have_content(project.path)
+ expect(find('.breadcrumbs')).to have_content(project.name)
end
it 'the old project path redirects to the new path' do
@@ -82,7 +82,7 @@ RSpec.describe 'Edit group settings', feature_category: :subgroups do
visit old_project_full_path
expect(page).to have_current_path(new_project_full_path, ignore_query: true)
- expect(find('.breadcrumbs')).to have_content(project.path)
+ expect(find('.breadcrumbs')).to have_content(project.name)
end
end
end
@@ -265,7 +265,7 @@ RSpec.describe 'Edit group settings', feature_category: :subgroups do
end
context 'with gitlab-profile project and no README.md' do
- let_it_be(:project) { create(:project, name: 'gitlab-profile', namespace: group) }
+ let_it_be(:project) { create(:project, path: 'gitlab-profile', namespace: group) }
it 'renders Add README button and allows user to create a README via the IDE' do
visit edit_group_path(group)
diff --git a/spec/features/groups/packages_spec.rb b/spec/features/groups/packages_spec.rb
index db069b194b5..7963d4c3b22 100644
--- a/spec/features/groups/packages_spec.rb
+++ b/spec/features/groups/packages_spec.rb
@@ -53,7 +53,7 @@ RSpec.describe 'Group Packages', feature_category: :package_registry do
find('[data-testid="root-link"]', text: project.path).click
expect(page).to have_current_path(project_path(project))
- expect(page).to have_content(project.path)
+ expect(page).to have_content(project.name)
end
context 'sorting' do