Skip to content

Commit f149e43

Browse files
biggs0125natebiggs
andauthored
Update e2e_test expectation to look for more consistent message. (#2630)
Co-authored-by: Nate Biggs <[email protected]>
1 parent 80b1686 commit f149e43

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

webdev/test/e2e_test.dart

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void main() {
113113
final process = await testRunner.runWebDev(args,
114114
workingDirectory: soundExampleDirectory);
115115

116-
await checkProcessStdout(process, ['Succeeded']);
116+
await checkProcessStdout(process, ['Writing asset manifest completed']);
117117
await process.shouldExit(0);
118118
},
119119
// https://github.com/dart-lang/webdev/issues/2489,
@@ -133,7 +133,7 @@ void main() {
133133
final process = await testRunner.runWebDev(args,
134134
workingDirectory: soundExampleDirectory);
135135

136-
final expectedItems = <Object>['Succeeded'];
136+
final expectedItems = <Object>['Writing asset manifest completed'];
137137

138138
await checkProcessStdout(process, expectedItems);
139139
await process.shouldExit(0);
@@ -166,7 +166,7 @@ void main() {
166166
final process = await testRunner.runWebDev(args,
167167
workingDirectory: soundExampleDirectory);
168168

169-
final expectedItems = <Object>['Succeeded'];
169+
final expectedItems = <Object>['Writing asset manifest completed'];
170170

171171
await checkProcessStdout(process, expectedItems);
172172
await process.shouldExit(0);
@@ -189,7 +189,9 @@ void main() {
189189
final process = await testRunner.runWebDev(args,
190190
workingDirectory: soundExampleDirectory);
191191

192-
final expectedItems = <Object>['Succeeded'];
192+
final expectedItems = <Object>[
193+
'Caching finalized dependency graph completed'
194+
];
193195

194196
await checkProcessStdout(process, expectedItems);
195197
await process.shouldExit(0);
@@ -215,7 +217,10 @@ void main() {
215217
final hostUrl = 'http://localhost:$openPort';
216218

217219
// Wait for the initial build to finish.
218-
await expectLater(process.stdout, emitsThrough(contains('Succeeded')));
220+
await expectLater(
221+
process.stdout,
222+
emitsThrough(
223+
contains('Caching finalized dependency graph completed')));
219224

220225
final client = HttpClient();
221226

0 commit comments

Comments
 (0)