Conversation
fylyppo
reviewed
Mar 13, 2026
fylyppo
reviewed
Mar 13, 2026
| such as permission dialogs, notifications, or the contents of | ||
| platform views. | ||
|
|
||
| ### Patrol |
There was a problem hiding this comment.
maybe "patrol package" to be consistent with integration_test package point
fylyppo
reviewed
Mar 16, 2026
| After a test run, Patrol generates native test reports: | ||
|
|
||
| * **Android**: An HTML report is saved to | ||
| `build/app/reports/androidTests/connected/debug/index.html`. |
There was a problem hiding this comment.
I think paths are related to build moge and flavor. iOS too
fylyppo
reviewed
Mar 16, 2026
|
|
||
| **iOS:** | ||
|
|
||
| 1. Build the test bundle for physical devices: |
There was a problem hiding this comment.
it is not said about codesigning, should we mention this?
jBorkowska
reviewed
Mar 16, 2026
| await $('Log in').waitUntilVisible(); | ||
| ``` | ||
|
|
||
| For the full finder API, see the [custom finders][] package. |
There was a problem hiding this comment.
why "custom finders" and not "patrol finders"?
| ### Development mode with hot restart | ||
|
|
||
| For faster iteration while writing tests, | ||
| use the `develop` command: |
There was a problem hiding this comment.
I think it's worth mentioning that develop doesn't work on web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New file created
/testing/patrol-tests/index.md— Full "Write and run a Patrol test" guide covering setup, writing tests withpatrolTestand$finders, running withpatrol test/patrol develop, and platform interactions via$.platformAPI. Links to Patrol docs for native side integration and app initialization details.Files modified
/testing/overview.md(Integration tests section)integration_testcan't interact with native platform UI, and introducing Patrol as the alternative/cookbook/testing/integration/introduction/cookbook/testing/integration/introduction.md(Integration testing concepts)integration_testand Patrol side by side/testing/testing-plugins.md(Testing plugins)sidenav/default.ymlTo test it:
dart run dash_site servePresubmit checklist
of 80 characters or fewer.