summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-06-09 14:59:54 +0100
committerSean McGivern <sean@gitlab.com>2017-06-09 14:59:54 +0100
commit114cae6d54d68782e77e8cb8a048d5722d758e86 (patch)
tree2cb364dcbeed19d70bf26f7a3f4dda8a880595d9 /features
parent7f584edb1bd687da17894a3bd5c20a9be9a39f74 (diff)
downloadgitlab-ce-114cae6d54d68782e77e8cb8a048d5722d758e86.tar.gz
Fix intermittent Spinach markdown render failure33457-features-project-source-markdown_render-feature-fails-on-master
When loading a tree with a README.md, we need to wait for the blob viewer.
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/source/markdown_render.rb2
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