Skip to content

Commit 98a6f54

Browse files
authored
Fixing failing DDS-served DevTools test expectations (#2835)
The latest version of DevTools is rendered with Flutter Web, so we're likely missing specific DOM elements. I've changed this to check that Flutter Web's loaded. See: https://docs.flutter.dev/tools/devtools/release-notes/release-notes-2.58.0
1 parent d2cf182 commit 98a6f54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dwds/test/integration/devtools_common.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void testAll({required TestSdkConfigurationProvider provider}) {
5757
test('can launch devtools', () async {
5858
final windows = await context.webDriver.windows.toList();
5959
await context.webDriver.driver.switchTo.window(windows.last);
60-
expect(await context.webDriver.pageSource, contains('DevTools'));
60+
expect(await context.webDriver.pageSource, contains('flutter-view'));
6161
expect(await context.webDriver.currentUrl, contains('ide=Dwds'));
6262
// TODO(https://github.com/dart-lang/webdev/issues/1888): Re-enable.
6363
}, skip: Platform.isWindows);

0 commit comments

Comments
 (0)