File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
packages/devtools_app/integration_test/test/live_connection Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,22 @@ void main() {
7474 await helper.triggerRequest ('dioPost' );
7575 _expectInRequestTable ('POST' );
7676
77+ // Perform a Hot Reload, then make more requests.
78+ await serviceConnection.serviceManager.performHotReload ();
79+
80+ // Instruct the app to make a GET request via the 'http' package.
81+ await helper.triggerRequest ('packageHttpGet' );
82+ _expectInRequestTable ('GET' );
83+ await helper.clear ();
84+
85+ // Perform a Hot Restart, then make more requests.
86+ await serviceConnection.serviceManager.performHotRestart ();
87+
88+ // Instruct the app to make a GET request via the 'http' package.
89+ await helper.triggerRequest ('packageHttpGet' );
90+ _expectInRequestTable ('GET' );
91+ await helper.clear ();
92+
7793 await helper.triggerExit ();
7894 });
7995}
@@ -111,7 +127,9 @@ final class _NetworkScreenHelper {
111127 'ext.networking_app.makeRequest' ,
112128 args: {'requestType' : requestType, 'hasBody' : hasBody},
113129 );
114- logStatus (response.toString ());
130+ logStatus (
131+ 'Sent a $requestType request, received response: ${response .json }' ,
132+ );
115133
116134 await _tester.pump (safePumpDuration);
117135 }
You can’t perform that action at this time.
0 commit comments