Commit f6ceea6
authored
Fixed card tests for control images; moved core controls to core folder (#5693)
* Move integration tests from material to core and update image docs
Integration test files and golden images for column, grid view, icon, image, and text controls were moved from the 'material' to the 'core' directory. Documentation and example image paths were updated accordingly. The image control example now uses a base64-encoded image instead of a remote URL, and the corresponding test was updated to match.
* Add similarity_threshold to screenshot assertions
Introduces a similarity_threshold parameter to screenshot assertion methods in tests and FletTestApp, allowing configurable image comparison sensitivity for integration tests.1 parent 48044f9 commit f6ceea6
File tree
22 files changed
+30
-27
lines changed- sdk/python/packages/flet
- docs/controls
- integration_tests
- assets
- examples
- core
- golden/macos
- column
- grid_view
- icon
- image
- text
- material
- golden/macos/image
- src/flet
- controls/core
- testing
22 files changed
+30
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Whitespace-only changes.
0 commit comments