From 6bda7daa08e810b3d2e13bd18b00b1cf6afa4906 Mon Sep 17 00:00:00 2001 From: Nate Biggs Date: Wed, 4 Jun 2025 12:24:32 -0400 Subject: [PATCH] Update e2e_test expectation to look for more consistent message. --- webdev/test/e2e_test.dart | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/webdev/test/e2e_test.dart b/webdev/test/e2e_test.dart index 102d3f3ff..4a4e4a579 100644 --- a/webdev/test/e2e_test.dart +++ b/webdev/test/e2e_test.dart @@ -113,7 +113,7 @@ void main() { final process = await testRunner.runWebDev(args, workingDirectory: soundExampleDirectory); - await checkProcessStdout(process, ['Succeeded']); + await checkProcessStdout(process, ['Writing asset manifest completed']); await process.shouldExit(0); }, // https://github.com/dart-lang/webdev/issues/2489, @@ -133,7 +133,7 @@ void main() { final process = await testRunner.runWebDev(args, workingDirectory: soundExampleDirectory); - final expectedItems = ['Succeeded']; + final expectedItems = ['Writing asset manifest completed']; await checkProcessStdout(process, expectedItems); await process.shouldExit(0); @@ -166,7 +166,7 @@ void main() { final process = await testRunner.runWebDev(args, workingDirectory: soundExampleDirectory); - final expectedItems = ['Succeeded']; + final expectedItems = ['Writing asset manifest completed']; await checkProcessStdout(process, expectedItems); await process.shouldExit(0); @@ -189,7 +189,9 @@ void main() { final process = await testRunner.runWebDev(args, workingDirectory: soundExampleDirectory); - final expectedItems = ['Succeeded']; + final expectedItems = [ + 'Caching finalized dependency graph completed' + ]; await checkProcessStdout(process, expectedItems); await process.shouldExit(0); @@ -215,7 +217,10 @@ void main() { final hostUrl = 'http://localhost:$openPort'; // Wait for the initial build to finish. - await expectLater(process.stdout, emitsThrough(contains('Succeeded'))); + await expectLater( + process.stdout, + emitsThrough( + contains('Caching finalized dependency graph completed'))); final client = HttpClient();