Fix blob highlight tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
86fa074024
commit
11728851bf
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue