summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2019-06-06 13:31:38 +1000
committerMark Lapierre <mlapierre@gitlab.com>2019-06-06 13:31:38 +1000
commit6e0f85aafa5bd73f9433f4c802201a0d8a16ea16 (patch)
treee8050888d738d1b7231690f5069856df683fdfbc
parent1bec362138bfcf6343a9cbc951ef5c8c07d2baaa (diff)
downloadgitlab-ce-6e0f85aafa5bd73f9433f4c802201a0d8a16ea16.tar.gz
Visit project after pushqa-ml-visit-after-wait-for-push
Waits for the push to a project before visiting the page so that the updated state is shown when the page loads
-rw-r--r--qa/qa/resource/repository/project_push.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/resource/repository/project_push.rb b/qa/qa/resource/repository/project_push.rb
index cad89ebb0bb..e98880ce195 100644
--- a/qa/qa/resource/repository/project_push.rb
+++ b/qa/qa/resource/repository/project_push.rb
@@ -32,8 +32,8 @@ module QA
def fabricate!
super
- project.visit!
project.wait_for_push @commit_message if @wait_for_push
+ project.visit!
end
end
end