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
11728851
Commit
11728851
authored
Jun 12, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix blob highlight tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
86fa0740
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
features/project/source/multiselect_blob.feature
features/project/source/multiselect_blob.feature
+2
-3
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
features/project/source/multiselect_blob.feature
View file @
11728851
...
...
@@ -2,8 +2,7 @@ Feature: Project Multiselect Blob
Background
:
Given
I sign in as a user
And
I own project
"Shop"
And
I visit project source page
And
I click on
"Gemfile.lock"
file in repo
And
I visit
"Gemfile.lock"
file in repo
@javascript
Scenario
:
I
click line 1 in file
...
...
@@ -83,4 +82,4 @@ Feature: Project Multiselect Blob
And
I go forward in history
And
I go forward in history
Then
I should see
"L1-5"
as URI fragment
And
I should see lines 1-5 highlighted
\ No newline at end of file
And
I should see lines 1-5 highlighted
features/steps/shared/paths.rb
View file @
11728851
...
...
@@ -264,6 +264,10 @@ module SharedPaths
visit
project_blob_path
(
@project
,
File
.
join
(
ValidCommit
::
ID
,
ValidCommit
::
BLOB_FILE_PATH
))
end
step
'I visit "Gemfile.lock" file in repo'
do
visit
project_blob_path
(
@project
,
File
.
join
(
root_ref
,
'Gemfile.lock'
))
end
step
'I visit project source page for "8470d70"'
do
visit
project_tree_path
(
@project
,
"8470d70"
)
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