Sha256: dd0105f372ffdf13f3d918cb91bd582ed1a4523cc3474ee14bff8c4cc4cb670d
Contents?: true
Size: 463 Bytes
Versions: 26
Compression:
Stored size: 463 Bytes
Contents
require 'test_helper' class DisconnectionTest < IT include CapybaraOffline def setup super visit '/' go_disconnected end def teardown super go_connected end test "should show alert about disconnection from the server" do page.evaluate_script "App.Env.loco.getWire().setAllowedDisconnectionTime(1);" msg = "You have been disconnected from the server for too long. Reload page!" assert page.has_content? msg end end
Version data entries
26 entries across 26 versions & 1 rubygems