flutter/packages/flutter_tools/test
David Iglesias 703e12f524
[ci] Adds test for web hot restart with const App. (#141824)
This PR adds a test that reproduces the problem described in the linked issue: hot restart on the web seems to not update if the app being run is `const`.

The new test is expected to fail, until the `const` issue with hot restart in the web is resolved.

Expected failure mode is a 15s timeout in the following test:

```
02:31 +3 ~1 -1: Hot reload (index.html: Default) (with `const MyApp()`)): newly added code executes during hot restart [E]
  TimeoutException after 0:00:15.000000: Future not completed
  dart:async  _startMicrotaskLoop
  ...
```

(And then a bunch of output that I'm not 100% sure is intended :))

## Issues

* #141588
2024-01-25 01:49:08 +00:00
..
android_preview_integration.shard Allow plugins to use compileSdkPreview (#131901) 2023-12-12 20:06:04 +00:00
commands.shard Allow overriding the native assets yaml file in the resident runner. (#142016) 2024-01-23 19:49:10 +00:00
data make asset_test.dart tests not dependent on context (#141331) 2024-01-11 18:08:07 +00:00
general.shard Support wireless debugging for iOS 12 or earlier (#141439) 2024-01-24 22:14:08 +00:00
host_cross_arch.shard Remove deprecated bitcode stripping from tooling (#140903) 2024-01-03 23:15:23 +00:00
integration.shard [ci] Adds test for web hot restart with const App. (#141824) 2024-01-25 01:49:08 +00:00
src Remove duplicate code as suggested by natebosch. (#141988) 2024-01-22 13:08:36 -08:00
web.shard [ci] Adds test for web hot restart with const App. (#141824) 2024-01-25 01:49:08 +00:00