Commit d771253b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix README anchor tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 5aee89d0
...@@ -77,7 +77,9 @@ class ProjectBrowseFiles < Spinach::FeatureSteps ...@@ -77,7 +77,9 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
end end
step 'I click on readme file' do step 'I click on readme file' do
click_link 'README.md' within '.tree-table' do
click_link 'README.md'
end
end end
step 'I see Browse file link' do step 'I see Browse file link' do
......
...@@ -79,9 +79,17 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps ...@@ -79,9 +79,17 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
end end
And 'I navigate to the doc/api/README' do And 'I navigate to the doc/api/README' do
click_link "doc" within '.tree-table' do
click_link "api" click_link "doc"
click_link "README.md" end
within '.tree-table' do
click_link "api"
end
within '.tree-table' do
click_link "README.md"
end
end end
And 'I see correct file rendered' do And 'I see correct file rendered' do
......
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