diff --git a/dwds/test/debug_extension_test.dart b/dwds/test/debug_extension_test.dart index e6078693f..0b6a20963 100644 --- a/dwds/test/debug_extension_test.dart +++ b/dwds/test/debug_extension_test.dart @@ -75,13 +75,10 @@ void main() async { test('can launch DevTools', () async { var windows = await context.webDriver.windows.toList(); await context.webDriver.driver.switchTo.window(windows.last); - // TODO(grouma): switch back to `fixture.webdriver.title` when - // https://github.com/flutter/devtools/issues/2045 is fixed. - expect(await context.webDriver.pageSource, contains('Flutter')); + expect(await context.webDriver.title, contains('DevTools')); expect(await context.webDriver.currentUrl, contains('ide=DebugExtension')); - // TODO(elliette): Re-enable and fix flakes. - }, skip: true); + }); test('can close DevTools and relaunch', () async { for (var window in await context.webDriver.windows.toList()) { diff --git a/dwds/test/devtools_test.dart b/dwds/test/devtools_test.dart index 725995de8..8e4c98367 100644 --- a/dwds/test/devtools_test.dart +++ b/dwds/test/devtools_test.dart @@ -46,12 +46,9 @@ void main() { test('can launch devtools', () async { var windows = await context.webDriver.windows.toList(); await context.webDriver.driver.switchTo.window(windows.last); - // TODO(grouma): switch back to `fixture.webdriver.title` when - // https://github.com/flutter/devtools/issues/2045 is fixed. - expect(await context.webDriver.pageSource, contains('Flutter')); + expect(await context.webDriver.title, contains('DevTools')); expect(await context.webDriver.currentUrl, contains('ide=Dwds')); - // TODO(elliette): Re-enable and fix flakes. - }, skip: true); + }, skip: Platform.isWindows); test( 'can not launch devtools for the same app in multiple tabs',