From 32c0ff4831bf8f8c735c4baaddedaf56b29f5404 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 5 Jun 2018 18:46:41 +0800 Subject: [PATCH] DEV: Install dependencies before running smoke test. --- lib/tasks/smoke_test.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/smoke_test.rake b/lib/tasks/smoke_test.rake index 87b526e7f6f..7aa2a0286a9 100644 --- a/lib/tasks/smoke_test.rake +++ b/lib/tasks/smoke_test.rake @@ -8,6 +8,8 @@ task "smoke:test" do abort "Chrome 59 or higher is required to run smoke tests in headless mode." end + system("yarn install --dev") + url = ENV["URL"] if !url require "#{Rails.root}/config/environment"