Skip to content

Commit 0a2804b

Browse files
authored
Fix DevTools test (#2071)
1 parent e887316 commit 0a2804b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dwds/test/devtools_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void main() {
5050
() async {
5151
final windows = await context.webDriver.windows.toList();
5252
await context.webDriver.driver.switchTo.window(windows.last);
53-
expect(await context.webDriver.title, equals('Dart DevTools'));
53+
expect(await context.webDriver.pageSource, contains('DevTools'));
5454
expect(await context.webDriver.currentUrl, contains('ide=Dwds'));
5555
// TODO(https://github.com/dart-lang/webdev/issues/1888): Re-enable.
5656
},

0 commit comments

Comments
 (0)