Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webview Test Elements #24

Closed
bichoec opened this issue Feb 4, 2020 · 1 comment
Closed

Webview Test Elements #24

bichoec opened this issue Feb 4, 2020 · 1 comment

Comments

@bichoec
Copy link

bichoec commented Feb 4, 2020

Hello! I think it's not the best place to ask this question but I was trying to figure out the issue.
I was testing (XCUITest) a Webview (Load an Angular Page). I ran the test with this code line:

let propertiesButton = app.webViews.otherElements.element(boundBy: 3).firstMatch
if propertiesButton.exists {
propertiesButton.tap()
}

Properties Window opened fine only in Simulator iPhone 11 - 13.1. If I run the same test with another Simulator like iPhone 11 Pro - 13.1 or 13.3 the tap() doesn't work.

Also this line: app.swipeUp() when the Properties Window is opened, only works in Simulator iPhone 11 - 13.1

I'm not sure if the issue will be from how the web view render the Angular page (CSS).
Does anybody have or had the same issue?

@joemasilotti
Copy link
Owner

I've seen the swipeUp() method not work on larger screen sizes. For example, calling swipeDown() won't dismiss a sheet on some devices. I recommend filing a bug with Apple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants