-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix usages of deprecated members in docs (#1933)
* removed occurences of `nativeAutomation: true` * replaced `PatrolTester` with `PatrolIntegrationTester` in `patrolTest()`
- Loading branch information
1 parent
f0cbe87
commit 517185c
Showing
6 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ testWidgets('signs up', (WidgetTester tester) async { | |
to this: | ||
|
||
```dart | ||
patrolTest('signs up', (PatrolTester $) async { | ||
patrolTest('signs up', (PatrolIntegrationTester $) async { | ||
await $.pumpWidgetAndSettle(AwesomeApp()); | ||
await $(#emailTextField).enterText('[email protected]'); | ||
|
@@ -96,7 +96,7 @@ Patrol's native automation feature solves these problems: | |
|
||
```dart | ||
void main() { | ||
patrolTest('showtime', nativeAutomation: true, (PatrolTester $) async { | ||
patrolTest('showtime', (PatrolIntegrationTester $) async { | ||
await $.pumpWidgetAndSettle(AwesomeApp()); | ||
// prepare network conditions | ||
await $.native.enableCellular(); | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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