Reid Baker
638331b133
Update test to include more complete instructions for how to run tests locally, add example to andoid 11 tests as well ( #158528 )
...
Follow @matanlurey's example and include how to run a test at the top of the test file.
2024-11-12 22:07:55 +00:00
Matan Lurey
5d5e633c44
Move (dev/tools
), complete v0 of native_driver
(Android) ( #154843 )
...
**This is a WIP**, and the only reason it is not a draft PR is so that Flutter (Skia) Gold is executed.
---
Closes https://github.com/flutter/flutter/issues/148269 .
Work towards https://github.com/flutter/flutter/issues/148269 .
2024-09-11 23:56:21 +00:00
Matan Lurey
5e194383af
Add a test of an Android platform view that draws a gradient ( #153878 )
...
Closes https://github.com/flutter/flutter/issues/152376 .
The gradient, for posterity, looks like this:
<img src="https://github.com/user-attachments/assets/bed9599a-4e16-499c-af79-b51980095e89 " width="150">
Let's see if CI agrees!
/cc @johnmccutchan
2024-08-23 18:25:40 +00:00
Matan Lurey
e11abea9d4
Disable DDS and Dart profiling for Android driver tests. ( #152696 )
...
Work around https://github.com/flutter/flutter/issues/152684 , and probably indefinitely if we don't need it.
2024-08-01 20:13:42 +00:00
Matan Lurey
4ff9462be8
Fix local testing, gradle XML errors, and enable on CI. ( #152383 )
...
TIL you cannot have XML comments before the initial `<?xml` declaration.
Follow-up to https://github.com/flutter/flutter/pull/152326 .
2024-08-01 09:10:45 -07:00
Matan Lurey
7f8ad8a4cb
Add and use an integration test with native(ADB) screenshots ( #152326 )
...
Closes https://github.com/flutter/flutter/issues/152325 .
This PR is large due to generate `flutter create --platforms android`. A quick summary:
- Moves the integration test from `packages/flutter_driver/test` to `dev/integration_tests`
- Created a sample Flutter app that draws a blue rectangle
- Forked a subset of `package:flutter_goldens` that will work on the standalone Dart VM
- Forked a subset of `goldens.dart` (from `flutter_test`) to `src/native/goldens.dart` (i.e. `matchesGoldenFile`)
This ... works locally, but as usual I have no idea if it will work on Skia Gold so let's roll some dice.
2024-07-26 16:09:29 +00:00
Matan Lurey
09461925a3
Scaffolding for NativeDriver
and AndroidNativeDriver
for taking screenshots using adb
. ( #152194 )
...
Closes https://github.com/flutter/flutter/issues/152189 .
I have next to no clue how to configure this to run on CI, so bear with me as I rediscover the wheel.
2024-07-24 20:12:19 +00:00