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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
ea1f3882
Commit
ea1f3882
authored
Sep 10, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enables merge conflicts resolution spec
https://gitlab.com/gitlab-org/gitlab-ce/issues/48034
parent
17ca2032
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
spec/features/merge_request/user_resolves_conflicts_spec.rb
spec/features/merge_request/user_resolves_conflicts_spec.rb
+4
-14
No files found.
spec/features/merge_request/user_resolves_conflicts_spec.rb
View file @
ea1f3882
...
@@ -44,9 +44,7 @@ describe 'Merge request > User resolves conflicts', :js do
...
@@ -44,9 +44,7 @@ describe 'Merge request > User resolves conflicts', :js do
within
find
(
'.diff-file'
,
text:
'files/ruby/regex.rb'
)
do
within
find
(
'.diff-file'
,
text:
'files/ruby/regex.rb'
)
do
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def username_regexp"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def username_regexp"
)
expect
(
page
).
not_to
have_selector
(
'.line_content.new'
,
text:
"def username_regex"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def project_name_regexp"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def project_name_regexp"
)
expect
(
page
).
not_to
have_selector
(
'.line_content.new'
,
text:
"def project_name_regex"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def path_regexp"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def path_regexp"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def archive_formats_regexp"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def archive_formats_regexp"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def git_reference_regexp"
)
expect
(
page
).
to
have_selector
(
'.line_content.new'
,
text:
"def git_reference_regexp"
)
...
@@ -110,12 +108,8 @@ describe 'Merge request > User resolves conflicts', :js do
...
@@ -110,12 +108,8 @@ describe 'Merge request > User resolves conflicts', :js do
click_link
(
'conflicts'
,
href:
%r{/conflicts
\Z
}
)
click_link
(
'conflicts'
,
href:
%r{/conflicts
\Z
}
)
end
end
# TODO: https://gitlab.com/gitlab-org/gitlab-ce/issues/48034
include_examples
"conflicts are resolved in Interactive mode"
# include_examples "conflicts are resolved in Interactive mode"
include_examples
"conflicts are resolved in Edit inline mode"
# include_examples "conflicts are resolved in Edit inline mode"
it
'prevents RSpec/EmptyExampleGroup'
do
end
end
end
context
'in Parallel view mode'
do
context
'in Parallel view mode'
do
...
@@ -124,12 +118,8 @@ describe 'Merge request > User resolves conflicts', :js do
...
@@ -124,12 +118,8 @@ describe 'Merge request > User resolves conflicts', :js do
click_button
'Side-by-side'
click_button
'Side-by-side'
end
end
# TODO: https://gitlab.com/gitlab-org/gitlab-ce/issues/48034
include_examples
"conflicts are resolved in Interactive mode"
# include_examples "conflicts are resolved in Interactive mode"
include_examples
"conflicts are resolved in Edit inline mode"
# include_examples "conflicts are resolved in Edit inline mode"
it
'prevents RSpec/EmptyExampleGroup'
do
end
end
end
end
end
...
...
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