Skip to content

Commit

Permalink
Merge pull request #2234 from leancodepl/fix-external-link-test
Browse files Browse the repository at this point in the history
Fix external link test
  • Loading branch information
pdenert authored Jun 20, 2024
2 parents 45be2cf + fc88c64 commit db5242e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions dev/e2e_app/integration_test/external_link_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ void main() {

await $.native.openUrl('https://leancode.co');

try {
await $.native.tap(Selector(text: 'Use without an account'));
} on PatrolActionException catch (_) {
// ignore
}

try {
await $.native.tap(Selector(text: 'No thanks'));
} on PatrolActionException catch (_) {
// ignore
}

try {
await $.native.tap(Selector(text: 'Accept all cookies'));
} on PatrolActionException catch (_) {
// ignore
}

await $.native.waitUntilVisible(Selector(text: 'Subscribe'));
});
}

0 comments on commit db5242e

Please sign in to comment.