Isolate root connection tests from native update network probes
This commit is contained in:
@@ -35,6 +35,7 @@ void main() {
|
||||
(tester) async {
|
||||
await tester.pumpWidget(
|
||||
PipelinesRoot(
|
||||
nativeUpdatesSupported: false,
|
||||
server: _server(''),
|
||||
buildDefault: 'wss://build.example/connect',
|
||||
check: (_) async => SessionState.signedOut,
|
||||
@@ -54,6 +55,7 @@ void main() {
|
||||
) async {
|
||||
await tester.pumpWidget(
|
||||
PipelinesRoot(
|
||||
nativeUpdatesSupported: false,
|
||||
server: _server('wss://home.example/connect'),
|
||||
// A saved server with no kept session goes to onboarding directly.
|
||||
signedIn: false,
|
||||
|
||||
@@ -57,6 +57,7 @@ void main() {
|
||||
await ServerSession.load();
|
||||
await tester.pumpWidget(
|
||||
PipelinesRoot(
|
||||
nativeUpdatesSupported: false,
|
||||
server: ServerEndpoint.resolve(
|
||||
base: Uri.parse('file:///'),
|
||||
web: false,
|
||||
@@ -119,6 +120,7 @@ void main() {
|
||||
);
|
||||
await tester.pumpWidget(
|
||||
PipelinesRoot(
|
||||
nativeUpdatesSupported: false,
|
||||
server: server,
|
||||
catalogStore: store,
|
||||
clientFactory: factory,
|
||||
@@ -207,6 +209,7 @@ void main() {
|
||||
);
|
||||
await tester.pumpWidget(
|
||||
PipelinesRoot(
|
||||
nativeUpdatesSupported: false,
|
||||
server: ServerEndpoint.resolve(
|
||||
base: Uri.parse('file:///'),
|
||||
web: false,
|
||||
|
||||
Reference in New Issue
Block a user