3 ENV.delete("http_proxy")
5 ActiveSupport.on_load(:action_dispatch_system_test_case) do
6 ActionDispatch::SystemTesting::Server.silence_puma = true
9 class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
10 driven_by :selenium, :using => :headless_firefox do |options|
11 options.add_preference("intl.accept_languages", "en")
16 osm_website_app = create(:oauth_application, :name => "OpenStreetMap Web Site", :scopes => "write_api write_notes")
17 Settings.oauth_application = osm_website_app.uid
29 within "form", :text => "Email Address or Username" do
30 fill_in "username", :with => user.email
31 fill_in "password", :with => "test"
38 click_on "Logout", :match => :first
41 def within_sidebar(&block)
42 within "#sidebar_content", &block