summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-06-03 12:35:56 -0700
committerStan Hu <stanhu@gmail.com>2019-06-03 12:36:33 -0700
commiteee277a0fbc91b2e45bed6f501b089278f470a51 (patch)
tree3211e10fdd55d83800fd0bdd42c94f68a07866ae
parentb1ce6f9ea989bfb3d4b1632dba234347c92b35a8 (diff)
downloadgitlab-ce-sh-disable-network-service-chrome.tar.gz
Wait for requests to ensure Download link appearssh-disable-network-service-chrome
-rw-r--r--spec/features/projects/jobs_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb
index d0878c4088a..7a3b0bbd71e 100644
--- a/spec/features/projects/jobs_spec.rb
+++ b/spec/features/projects/jobs_spec.rb
@@ -323,6 +323,8 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
end
it 'downloads the zip file when user clicks the download button' do
+ wait_for_requests
+
requests = inspect_requests do
click_link 'Download'
end