Commit 11728851 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix blob highlight tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 86fa0740
...@@ -2,8 +2,7 @@ Feature: Project Multiselect Blob ...@@ -2,8 +2,7 @@ Feature: Project Multiselect Blob
Background: Background:
Given I sign in as a user Given I sign in as a user
And I own project "Shop" And I own project "Shop"
And I visit project source page And I visit "Gemfile.lock" file in repo
And I click on "Gemfile.lock" file in repo
@javascript @javascript
Scenario: I click line 1 in file Scenario: I click line 1 in file
......
...@@ -264,6 +264,10 @@ module SharedPaths ...@@ -264,6 +264,10 @@ module SharedPaths
visit project_blob_path(@project, File.join(ValidCommit::ID, ValidCommit::BLOB_FILE_PATH)) visit project_blob_path(@project, File.join(ValidCommit::ID, ValidCommit::BLOB_FILE_PATH))
end 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 step 'I visit project source page for "8470d70"' do
visit project_tree_path(@project, "8470d70") visit project_tree_path(@project, "8470d70")
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment