Skip to content

Conversation

@OwenMcDonnell
Copy link
Contributor

@OwenMcDonnell OwenMcDonnell commented Oct 1, 2025

Description

integration tests branch manually rebased from main.

Summary by Sourcery

Add comprehensive integration tests and example scripts for Flet controls in the Python SDK

New Features:

  • Integration tests for Markdown control rendering with screenshot validation
  • Integration tests for material controls including Slider, RangeSlider, RadioGroup and ProgressBar
  • Integration tests for cupertino controls including Checkbox, Radio, Slider, Switch and TextField
  • Example scripts demonstrating cupertino RadioGroup selection and TextField usage with background image and focus behavior

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 1, 2025

Deploying flet-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d72f19
Status: ✅  Deploy successful!
Preview URL: https://06e3eaa7.flet-docs.pages.dev
Branch Preview URL: https://owen-new-v1-integration-test.flet-docs.pages.dev

View logs

@FeodorFitsner
Copy link
Contributor

Golden images must be checked-in as well, see test results here: https://github.com/flet-dev/flet/actions/runs/18153625078/job/51668812537

# pixel_ratio=flet_app.screenshots_pixel_ratio
# ),
# )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented out tests.

# pixel_ratio=flet_app.screenshots_pixel_ratio
# ),
# )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented out tests.

# width=400, color=ft.Colors.GREEN_400, bgcolor=ft.Colors.GREY_400, value=None
# ),
# )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented out tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was working on testing indeterminate progress bar, but it's probably not much of a priority right now.

@FeodorFitsner
Copy link
Contributor

@FeodorFitsner FeodorFitsner changed the title replace tests v1: More Material and Cupertino tests Oct 3, 2025
@FeodorFitsner FeodorFitsner merged commit afce39c into main Oct 3, 2025
23 of 41 checks passed
@FeodorFitsner FeodorFitsner deleted the owen/new-v1-integration-tests branch October 3, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants