-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 9db9e4d.
- Loading branch information
1 parent
30033f7
commit cdb7c24
Showing
9 changed files
with
60 additions
and
218 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 |
---|---|---|
|
@@ -124,6 +124,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- version: '3.3.0' | ||
- channel: stable | ||
|
||
defaults: | ||
|
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
61 changes: 0 additions & 61 deletions
61
packages/patrol/example/integration_test/smokes/graceful_fail_test.dart
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,11 +4,10 @@ void main() { | |
patrol('interacts with the orange website in a webview', ($) async { | ||
await createApp($); | ||
|
||
await $('Open webview (Hacker News)').scrollTo().tap(); | ||
await $('Open webview (Hacker News').scrollTo().tap(); | ||
|
||
await $.native.tap(Selector(text: 'login')); | ||
await $.native.enterTextByIndex('[email protected]', index: 0); | ||
await $.native.enterTextByIndex('[email protected]', index: 0); | ||
await $.native.enterTextByIndex('ny4ncat', index: 1); | ||
await $.native.tap(Selector(text: 'login')); | ||
}); | ||
} |
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 |
---|---|---|
|
@@ -3,18 +3,13 @@ import 'common.dart'; | |
void main() async { | ||
patrol('interacts with the LeanCode website in a webview', ($) async { | ||
await createApp($); | ||
|
||
await $('Open webview (LeanCode)').scrollTo().tap(); | ||
await $.native.tap(Selector(text: 'Accept cookies')); | ||
|
||
// open dropdown | ||
await $.native.tap(Selector(text: 'Accept cookies')); | ||
await $.native.tap(Selector(text: 'What do you do in IT?', instance: 1)); | ||
|
||
// select option in dropdown | ||
await $.native.tap(Selector(text: 'Developer')); | ||
|
||
// close dropdown | ||
await $.native.tap(Selector(text: 'What do you do in IT?', instance: 1)); | ||
|
||
await $.native.tap(Selector(text: '1 item selected')); | ||
await $.native.enterTextByIndex('[email protected]', index: 0); | ||
}); | ||
} |
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
Oops, something went wrong.