Skip to content

A platform for community discussion. Free, open, simple.

DEV: Install dependencies before running smoke test.

Guo Xiang Tan32c0ff4831bf
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"