Skip to content

Conversation

@OwenMcDonnell
Copy link
Contributor

Description

Add NavigationBar, MenuBar, MenuItemButton, and ListView example tests and images.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 8, 2025

Deploying flet-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 198465f
Status: ✅  Deploy successful!
Preview URL: https://0c34ff6b.flet-docs.pages.dev
Branch Preview URL: https://owen-control-docs-p8.flet-docs.pages.dev

View logs

)
flet_app_function.assert_screenshot(
"image_for_docs",
await flet_app_function.page.take_screenshot(),
Copy link
Contributor

Choose a reason for hiding this comment

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

pixel ration argument should be passed into page.take_screenshot() call, otherwise the test will be failing in CI environment with non-hi-res virtual display.

        await flet_app_function.page.take_screenshot(
            pixel_ratio=flet_app_function.screenshots_pixel_ratio
        ),

Make sure this is fixed everywhere.

flet_app_function.assert_screenshot(
"image_for_docs",
await flet_app_function.page.take_screenshot(),
)
Copy link
Contributor

Choose a reason for hiding this comment

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

and while you are there you may make this screenshot wider to remove horizontal scrollbar: https://github.com/flet-dev/flet/pull/5887/files#diff-e60ac2b820dd5525c3013f9ce6bbae7a779531b432745ba86a4308ab276ea6c1

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