anchor.diff:      final client = getIt<Client>();
       when(client.get(apiVersionEndpoint)).thenAnswer((_) async => Response(compatibleAPIVersion, 200));
   
  -    await tester.enterText(_urlInputField, hostURL);
  +    await tester.enterText(_urlInputField, goodhostURL);
       await tester.tap(_connectButton);
       await tester.pump();
       expect(_urlInputField, findsNothing);
     });
   
     testWidgets('Reconnects on startup', (WidgetTester tester) async {
  -    await _setup(connect: true);
  +    await _setup(preferences: {serverURLKey: goodhostURL});
   
       await tester.pumpWidget(PolarisApp());
   
       expect(_connectButton, findsNothing);
       expect(_disconnectButton, findsOneWidget);
  +  });
  +
  +  testWidgets('Failed reconnect shows connect screen', (WidgetTester tester) async {
  +    await _setup(preferences: {serverURLKey: badHostURL});
  +
  +    await tester.pumpWidget(PolarisApp());
  +
  +    expect(_connectButton, findsOneWidget);
  +    expect(_disconnectButton, findsNothing);
     });
   
     testWidgets('Disconnect returns to connect screen', (WidgetTester tester) async {
  
positive.code: final _connectButton = find.widgetWithText(ElevatedButton, connectButtonLabel);
  final _disconnectButton = find.widgetWithText(FlatButton, disconnectButtonLabel);
  
  Future _setup({bool connect = false}) async {
    var preferences = Map<String, dynamic>();
    if (connect) {
      preferences[serverURLKey] = hostURL;
    }
    SharedPreferences.setMockInitialValues(preferences);
  
    getIt.allowReassignment = true;
  
    getIt.registerSingleton<Host>(await Host.create());
    getIt.registerSingleton<Client>(MockClient());
    final client = getIt<Client>();
    when(client.get(apiVersionEndpoint)).thenAnswer((_) async => Response(compatibleAPIVersion, 200));
    getIt.registerSingleton<API>(HttpAPI());
    getIt.registerSingleton<connection.Manager>(connection.Manager());
  }
  
negative.code:     final client = getIt<Client>();
      when(client.get(apiVersionEndpoint)).thenAnswer((_) async => Response(compatibleAPIVersion, 200));
  
      await tester.enterText(_urlInputField, goodhostURL);
      await tester.tap(_connectButton);
      await tester.pump();
      expect(_urlInputField, findsNothing);
  