Commit 76a81e5
Fix 0.85.0 integration tests (#6396)
* Simplify macOS integration test job
Remove the matrix-based suite runs and consolidate the macOS integration job into a single run. Update job name to a static "Integration Tests", run a specific pytest target (examples/material/test_text_button.py::test_handling_clicks) instead of per-suite directories, remove the failure screenshot prep step, and use a static artifact name/path for uploading failure images. This simplifies the workflow and reduces matrix complexity for debugging and faster CI iteration.
* Run full test file in macOS integration workflow
Remove the explicit test function filter from the pytest invocation in .github/workflows/macos-integration-tests.yml so the entire packages/flet/integration_tests/examples/material/test_text_button.py file is executed instead of only the test_handling_clicks function. Ensures all tests in the file are run during macOS integration runs.
* Use test_button.py in macOS integration workflow
Update .github/workflows/macos-integration-tests.yml to run packages/flet/integration_tests/examples/material/test_button.py instead of test_text_button.py so the intended button integration tests are executed during the macOS CI job.
* Add matrix jobs for macOS integration tests
Introduce a job matrix for macOS integration tests (fail-fast disabled) so suites can be run per-matrix entry. Update the test step to use matrix.suite path, add a failure-prep step to create a SAFE_SUITE env var (slashes -> hyphens), and include SAFE_SUITE in the uploaded artifact name and path so artifacts are scoped per suite.
* ci: run test_alert_dialog + test_button to check contamination
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: bisect which alert_dialog test contaminates test_button
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: reset components_mode in test fixture teardown
test_use_dialog_dismiss_fires_after_animation calls page.render()
which permanently enables components_mode on the global context
singleton, disabling auto_update for all subsequent tests.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e0f42cd commit 76a81e5
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
| |||
0 commit comments