From 293cb7bde282f86f08d75f01d901e49e5a773a7b Mon Sep 17 00:00:00 2001 From: Daniel Waterworth Date: Fri, 17 Mar 2023 13:20:49 -0500 Subject: [PATCH] FIX: An ember build is required to run the system tests (#20725) --- lib/tasks/docker.rake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake index 7217ad72560..373b1da1e32 100644 --- a/lib/tasks/docker.rake +++ b/lib/tasks/docker.rake @@ -213,7 +213,10 @@ task "docker:test" do @good &&= run_or_fail("bundle exec rspec #{params.join(" ")}".strip) end - @good &&= run_or_fail("bundle exec rspec spec/system".strip) if ENV["RUN_SYSTEM_TESTS"] + if ENV["RUN_SYSTEM_TESTS"] + @good &&= run_or_fail("bin/ember-cli --build") + @good &&= run_or_fail("bundle exec rspec spec/system") + end end unless ENV["SKIP_PLUGINS"]