-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#4959Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfrom: manual-qaIssue caught from manual QA processIssue caught from manual QA processp: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
Install XCode RC1 and iOS 17.0 Simulator
git clone GitHub - flutter/packages: A collection of useful packages maintained by the Flutter team
cd packages
cd web_view_flutter/webview_flutter_wkwebview/example/ios
flutter pub get
pod install
Run the test using command (Replace $simulator_id):
xcodebuild test -workspace Runner.xcworkspace -scheme Runner \
-destination 'platform=iOS Simulator,id=$simulator_id' > logs.txt
9- Alternatively, you can run test inside Xcode in the Test Navigator
Expected results
Running all tests should succeed
Actual results
[Screenshot 1]: Xcode test navigator showing failing test: testLoadRequestWithInvalidUrl
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
error: -[FWFWebViewHostApiTests testLoadRequestWithInvalidUrl] : loadRequest:<OCMAnyConstraint: 0x600000b41910>: explicitly disallowed method invoked: loadRequest:<NSMutableURLRequest: 0x600000b476e0> { URL: %25invalidUrl%25 } (NSInternalInconsistencyException)
Test Case '-[FWFWebViewHostApiTests testLoadRequestWithInvalidUrl]' failed (0.049 seconds).
Test Suite 'FWFWebViewHostApiTests' failed at 2023-09-18 16:07:37.317.
Executed 1 test, with 1 failure (1 unexpected) in 0.049 (0.050) seconds
Test Suite 'RunnerTests.xctest' failed at 2023-09-18 16:07:37.318.
Executed 1 test, with 1 failure (1 unexpected) in 0.049 (0.051) seconds
Test Suite 'Selected tests' failed at 2023-09-18 16:07:37.318.
Executed 1 test, with 1 failure (1 unexpected) in 0.049 (0.053) seconds
Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.14.0-14.0.pre.333, on macOS 13.5.2 22G91 darwin-x64, locale en-UY)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] VS Code (version 1.82.2)
[✓] Connected device (3 available)
[✓] Network resourcesMetadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfrom: manual-qaIssue caught from manual QA processIssue caught from manual QA processp: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform team
