Skip to content

Commit 80ac038

Browse files
committed
Fix failing test ('NoSuchAlertException (27): no such alert') after dart-lang#2681
1 parent 769a056 commit 80ac038

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

dwds/lib/dart_web_debug_service.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ class Dwds {
155155
devToolsServerAddress:
156156
launchedDevToolsUri ??
157157
debugSettings.ddsConfiguration.devToolsServerAddress,
158+
serveDevTools: debugSettings.ddsConfiguration.serveDevTools,
158159
),
159160
debugSettings.launchDevToolsInNewWindow,
160161
useWebSocketConnection: useDwdsWebSocketConnection,

dwds/test/devtools_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ library;
88

99
import 'dart:io';
1010

11+
import 'package:dwds/src/config/tool_configuration.dart';
1112
import 'package:test/test.dart';
1213
import 'package:test_common/test_sdk_configuration.dart';
1314
import 'package:vm_service/vm_service.dart';
@@ -163,6 +164,9 @@ void main() {
163164
await context.setUp(
164165
debugSettings: TestDebugSettings.noDevToolsLaunch().copyWith(
165166
enableDevToolsLaunch: true,
167+
ddsConfiguration: DartDevelopmentServiceConfiguration(
168+
serveDevTools: false,
169+
),
166170
),
167171
);
168172
});

0 commit comments

Comments
 (0)