Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
084cfc73
Commit
084cfc73
authored
Jun 09, 2020
by
Mark Lapierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add fork namespace dynamic selector
parent
156c3306
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/projects/forks/_fork_button.html.haml
app/views/projects/forks/_fork_button.html.haml
+1
-1
qa/qa/page/project/fork/new.rb
qa/qa/page/project/fork/new.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb
...reate/merge_request/merge_merge_request_from_fork_spec.rb
+1
-1
No files found.
app/views/projects/forks/_fork_button.html.haml
View file @
084cfc73
...
...
@@ -22,5 +22,5 @@
-
else
.avatar-container.s100.mx-auto
=
image_tag
(
avatar
,
class:
"avatar s100"
)
%h5
.prepend-top-default
{
data:
{
qa_selector:
'fork_namespace_content'
}
}
%h5
.prepend-top-default
{
data:
{
qa_selector:
'fork_namespace_content'
,
qa_name:
namespace
.
human_name
}
}
=
namespace
.
human_name
qa/qa/page/project/fork/new.rb
View file @
084cfc73
...
...
@@ -10,7 +10,7 @@ module QA
end
def
choose_namespace
(
namespace
=
Runtime
::
Namespace
.
path
)
click_element
(
:fork_namespace_content
)
click_element
(
:fork_namespace_content
,
name:
namespace
)
end
end
end
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb
View file @
084cfc73
# frozen_string_literal: true
module
QA
context
'Create'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/220189'
,
type: :investigating
}
do
context
'Create'
do
describe
'Merge request creation from fork'
do
it
'user forks a project, submits a merge request and maintainer merges it'
do
Flow
::
Login
.
sign_in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment