diff options
author | Sean McGivern <sean@gitlab.com> | 2017-06-09 16:59:54 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-06-09 16:59:54 +0300 |
commit | 114cae6d54d68782e77e8cb8a048d5722d758e86 (patch) | |
tree | 2cb364dcbeed19d70bf26f7a3f4dda8a880595d9 | |
parent | 7f584edb1bd687da17894a3bd5c20a9be9a39f74 (diff) |
Fix intermittent Spinach markdown render failure
When loading a tree with a README.md, we need to wait for the blob viewer.
-rw-r--r-- | features/steps/project/source/markdown_render.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/project/source/markdown_render.rb b/features/steps/project/source/markdown_render.rb index 0fee158d590..cf31e61437e 100644 --- a/features/steps/project/source/markdown_render.rb +++ b/features/steps/project/source/markdown_render.rb @@ -90,6 +90,8 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps click_link "api" end + wait_for_requests + page.within '.tree-table' do click_link "README.md" end |