tests: skip system tests when firefox isn't installed.

This commit is contained in:
evazion
2019-09-29 14:29:28 -05:00
parent f34489af02
commit 9ba46105dd

View File

@@ -3,4 +3,8 @@ require "test_helper"
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
include SystemTestHelper
driven_by :selenium, using: :headless_firefox, screen_size: [1400, 1400]
setup do
skip "Firefox not installed" unless system("firefox --version > /dev/null")
end
end