Support --route
on flutter drive for Web
#58980
Labels
c: new feature
Nothing broken; request for a new capability
c: proposal
A detailed proposal for a change to Flutter
f: routes
Navigator, Router, and related APIs.
P3
Issues that are less important to the Flutter project
platform-web
Web applications specifically
t: flutter driver
"flutter driver", flutter_drive, or a driver test
team-web
Owned by Web platform team
tool
Affects the "flutter" command-line tool. See also t: labels.
triaged-web
Triaged by Web platform team
Projects
Use case
I want to run an integration test for flutter web where it opens a unknown route and checks for the 404 page.
flutter drive --target=test_driver/app.dart --no-headless --release --route '/password' lib/routes.dart
Proposal
On the web it seems to ignore the route parameter. On Android it works fine. I think this scenario makes way more sense on the web than on mobile since the user can type any URL in the search bar.
The text was updated successfully, but these errors were encountered: