38 Commits

Author SHA1 Message Date
Matan Lurey
ee235383f8 Update web_ui/** to explicitly pass --local-engine-host to the flutter tool. (flutter/engine#44613)
Partial work towards https://github.com/flutter/flutter/issues/132245.
2023-08-14 21:09:22 +00:00
Mouad Debbar
7b3b362623 [web] Cleaner output on LUCI (flutter/engine#41989)
Using ansi colors in LUCI results in output that looks like:
```
00:00 +0: loading flutter_tester_emulation_golden_test.dart                                                                                                                                            
00:01 +0: loading flutter_tester_emulation_golden_test.dart                                                                                                                                            
00:02 +0: loading flutter_tester_emulation_golden_test.dart
```

This PR disables colors on LUCI so that we get clean output that's easily scannable and searchable.
2023-05-12 21:50:22 +00:00
Jackson Gardner
28d9e0df0f Improve Wasm Debugging. (flutter/engine#41054)
Improve Wasm Debugging.
2023-04-12 00:52:04 +00:00
Jackson Gardner
439141c38d Skwasm scene (flutter/engine#40330)
Skwasm scene
2023-04-10 17:38:57 +00:00
Jackson Gardner
82886d52b3 Web test reorganization (flutter/engine#39984)
Web test reorganization
2023-03-28 00:08:48 +00:00
Jackson Gardner
a3dc9e77fb Skwasm Renderer - initial implementation (flutter/engine#39072)
Skwasm Renderer - initial implementation
2023-03-02 00:01:04 +00:00
Jackson Gardner
5c3acfecc6 @alwaysThrows is deprecated. Return Never instead. (flutter/engine#39269) 2023-01-30 16:31:56 -08:00
Harry Terkelsen
0b8c1c1d2a [web] Allow tests to run with multiple renderers (flutter/engine#37061) 2022-10-27 13:16:07 -07:00
Phil Quitslund
2f21381404 fix noop toString() diagnostics (flutter/engine#35100) 2022-08-02 13:52:44 -07:00
Michael Goderbauer
cc50c5249c Sync analysis_options.yaml with flutter/flutter (flutter/engine#34986) 2022-07-29 16:41:04 -07:00
Yegor
f83ae4a6e3 [web] add CanvasKit to CIPD; make it a DEPS dependency; add a manual roller script (flutter/engine#28056)
add CanvasKit to CIPD; make it a DEPS dependency; add a manual roller script
2021-08-13 13:25:21 -07:00
Yegor
b09afa1c05 [web] separate tests into build + test steps; add run command (flutter/engine#27495) 2021-08-03 16:22:21 -07:00
Ferhat
ec4f6c11c0 [web] Code cleanup (flutter/engine#27766) 2021-07-28 11:47:04 -07:00
Ferhat
ca82f36e70 [web] Code cleanup (flutter/engine#27741) 2021-07-27 13:50:26 -07:00
Ferhat
fd982f2fc5 [web] Code cleanup (flutter/engine#27734) 2021-07-27 11:49:52 -07:00
Ferhat
43826fe892 [web] Analysis cleanup (flutter/engine#27730) 2021-07-27 10:06:44 -07:00
Ferhat
bfb44d77c5 [web] Fix analysis errors (flutter/engine#27707) 2021-07-26 16:42:50 -07:00
Mouad Debbar
0ab11ab252 [web][felt] Fix stdout inheritance for sub-processes (flutter/engine#27070) 2021-06-30 12:26:02 -07:00
Yegor
928b3ad5db [web] felt --watch fixes (flutter/engine#27009)
* make processes interruptible
* make --watch compatible with Windows:
  * add 'q' shortcut to quit (Ctrl + C on Windows is wonky)
  * use package:path for cross-platform path processing
2021-06-29 12:58:01 -07:00
Yegor
a62d2b337d migrate the rest of dev/ to null safety (flutter/engine#26668)
* migrate the rest of dev/ to null safety
2021-06-09 22:12:27 -07:00
Yegor
339073d44b [web] migrate some felt code to null safety (flutter/engine#26644)
* [web] migrate some felt code to null safety
2021-06-09 11:30:51 -07:00
Mouad Debbar
476206d9a0 [web] Add --watch flag to 'felt test' (flutter/engine#23727) 2021-01-19 13:16:00 -08:00
Lasse R.H. Nielsen
bcb3c39d79 Stop using the List constructor. (flutter/engine#22793) 2020-12-02 11:53:01 -08:00
nturgut
00333158e6 Upgrades to felt (running on multiple modes, multiple backends, single test target option) (flutter/engine#22260)
* testing running the tests on all build modes

* don't run debug mode on other browsers

* fix platform message test failures

* some cleanup. change dispose platform channel message

* adding flags to control the integration tests better with felt

* running tests by target name, selecting web rendering backend

* fix conditions

* carrying some conditions to helper methods. Adding comments

* create a blocked list for failing canvaskit test

* parse parameters before all integration tests

* Give better warning to developers for tests that are blocked for CI

* address some reviwer comments (more remains)

* remove named parameters

* also run with auto mode

* add verbose option

* reduce the number of tests running. skip url_test for now
2020-11-11 17:18:15 -08:00
nturgut
a7b71d9116 running screenshot tests on ios-safari unit tests (flutter/engine#20963)
* running screenshot tests on ios-safari unit tests

* fixing the golden_smoke tests. changes to the documentation

* addressing reviewer comments

* cropping footer from the simulator screenshot. addressing some reviewer comments

* use .dart_tools for recording the screenshots

* fix the usage of the method

* adding TODO's for missing documentation and not supported windows tests

* addressing comments

* changing to incremental counter for file names

* add comment to the counter

* fix anaylze issues

* using takescreenshot method from the iosSimulator.

* address reviewer comments

* fix the scaling issue. disable eronous test

* change the smoke file for top gap 282

* change the variable name for scale factor
2020-09-15 12:36:00 -07:00
Alexandre Ardhuin
2c2e5f362c Operator equals (flutter/engine#19303)
* use Object for operator==

* apply style guide for operator==
2020-06-30 23:16:31 +02:00
Yegor
30879c3f50 take web_ui to null safety (flutter/engine#19027)
move web_ui to NNBD syntax
2020-06-16 15:28:06 -07:00
nturgut
389517d57e [web] running ios unit tests from felt … (flutter/engine#18856)
* running ios unit tests from felt by booting/shutingdown simulators. create simulator with felt

* changing the readme file for ios,mac,xcode spellings

* addressing reviewer comments

* fix analyse error

* fixing cleanup issue. solution: adding and await and using for loop instead of foreach
2020-06-10 09:33:17 -07:00
Yegor
2abf0646ce make compiler worker count configurable (flutter/engine#17616)
* make compiler worker count configurable
2020-05-08 11:18:02 -07:00
Nurhan Turgut
29c24b8a47 Run integration tests on ci (flutter/engine#17598)
* changing felt script to fetch flutter

* changing the clone_flutter.sh code

* running integration tests with felt on cirrus. fetch framework in CI (not in local).

* only run cirrus tests on chrome. fix a comma in the flutter command path

* adding comments to public flags

* use local engine parameter for flutter pub get

* change flutter executable used for flutter drive command

* fix a cleanup issue. address comments. add toolException. enable web in flutter

* address reviwer comments. fix issue with local-engine

* address reviwer comments. fix issue with local-engine

* using engine/flutter/.dart_tools as clone directory. enabling clone script for local usage

* clean flutter repo with felt clean. add a flag to skip cloning the repo. always clone the repo even for local development, unless this flag is set

* fixing typos. updating readme for the new flag.

* fix directory error

* addressing reviewer comments
2020-04-13 09:54:54 -07:00
Nurhan Turgut
4dc4c1fcf2 [web] using pkill to quit safari (flutter/engine#17533)
* adding an apple script to quit safari

* making changes to utils and adding cleanup after unit tests failed

* switch saai quit to pkill instead of applescript

* adding toolexception

* adding a cleanup function option to felt.

* removing unnecassary await's added for the previos version of the PR

* removing unnecassary async

* fix analyze error
2020-04-08 17:35:10 -07:00
Yegor
97bf969dc0 fix implicit dynamic and two lints everywhere; implicit cast in dev/ (flutter/engine#17372) 2020-03-29 19:23:37 -07:00
Nurhan Turgut
9f6ffe557c Felt add integration (flutter/engine#17190)
* adding arguments to felt for running different type of tests

* adding test type enums to felt

* more changes to felt for testing branches

* more additions to code

* more changes to felt

* adding code for cloning web_drivers

* validating test directories. running the integration tests. update the readme file partially

* Removing todo lists used for development

* addressing reviewers comments

* remove unused imports

* addressing more reviewer comments

* addressing more reviewer comments

* addressing reviewer comments.

* addressing reviewer comments.

* fixing typos

* using chromedriverinstaller as a library. Fixing the commit number used from web_installers repo

* clean drivers directory after tests finish

* addressing more reviewer comments

* throwing all critical exceptions instead of logging and returning boolean flags

* adding todos for items we can do for making felt easier to use for local development

* do not run integration tests on CIs. Added an issue to the TODO.

* changing todo's with issues.
2020-03-20 19:24:13 -07:00
vsmenon
a605113c25 opt out dart:ui from nnbd (flutter/engine#16473)
* opt out dart:ui from nnbd

* Annotate tests as well
2020-02-20 11:04:00 -08:00
Nurhan Turgut
0e59dd9f6d modify test_runner.dart for windows to fix test build errors (flutter/engine#15326) 2020-01-09 14:58:01 -08:00
Mouad Debbar
237585efff Preserve stdout colors of subprocesses run by felt (flutter/engine#13209) 2019-10-18 10:41:44 -07:00
Yegor
bcfe5948b1 delete golden files; switch to flutter/goldens (flutter/engine#12434)
Delete golden files from flutter/engine; switch to flutter/goldens
2019-09-25 09:08:44 -07:00
Mouad Debbar
8a818032d0 Refactor and polish the 'felt' tool (flutter/engine#12258)
1. Various functionalities offered by this tool are now organized into commands (e.g. `felt test`, `felt check-licenses`).
2. The felt tool can now be invoked from anywhere, not necessarily from the web_ui directory.
3. This new structure helps us scale better as we add more commands (e.g. soon a `build/watch` command is coming).
2019-09-16 10:41:34 -07:00