Use cuprite to drive Chrome #60
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require "test_helper"
|
||||||
require "capybara/cuprite"
|
require "capybara/cuprite"
|
||||||
|
|
||||||
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
||||||
driven_by :cuprite, options: {headless: ENV["VISIBLE_SYSTEM_TESTS"].blank?}
|
driven_by :cuprite, options: { headless: ENV["VISIBLE_SYSTEM_TESTS"].blank? }
|
||||||
|
|
||||||
def login(email, password = "secret")
|
def login(email, password = "secret")
|
||||||
visit new_session_url
|
visit new_session_url
|
||||||
|
|
Loading…
Add table
Reference in a new issue