fastlane-snapshot

How to test Dynamic Type (larger font sizes) in iOS Simulator

会有一股神秘感。 提交于 2019-12-03 20:01:45
问题 Changing Dynamic Type settings in iOS can be done manually (Settings > General > Accessibility > Larger Text). But this does not appear to work in the current Simulator (v9.3 at the time of writing), and doing so manually is not a solution where automation is required. Question: Is there a way to launch an app with Dynamic Type settings to launch an app with larger font sizes? Note: This is not only useful for UI testing, but also for the purpose of creating screenshots using Fastlane

How to test Dynamic Type (larger font sizes) in iOS Simulator

百般思念 提交于 2019-11-30 13:42:25
Changing Dynamic Type settings in iOS can be done manually (Settings > General > Accessibility > Larger Text). But this does not appear to work in the current Simulator (v9.3 at the time of writing), and doing so manually is not a solution where automation is required. Question: Is there a way to launch an app with Dynamic Type settings to launch an app with larger font sizes? Note: This is not only useful for UI testing, but also for the purpose of creating screenshots using Fastlane Snapshot with larger font sizes. As of Xcode 8, there is a better option than the undocumented launch

How to tap on a specific point using Xcode UITests

China☆狼群 提交于 2019-11-27 22:46:15
I want to use Xcode UI tests with the Fastlane Snapshot to make screenshots of the Cordova app. Basically, as my entire app is just a web view, all the Xcode UI test helper methods become irrelevant, and I just want to tap on specific points, e.g. tap(x: 10, y: 10) should produce a tap at the point {10px; 10px} . That's probably very simple, but I can't figure out how to do it. Thanks. You can tap a specific point with the XCUICoordinate API . Unfortunately you can't just say "tap 10,10" referencing a pixel coordinate. You will need to create the coordinate with a relative offset to an actual

How to tap on a specific point using Xcode UITests

喜你入骨 提交于 2019-11-26 21:09:11
问题 I want to use Xcode UI tests with the Fastlane Snapshot to make screenshots of the Cordova app. Basically, as my entire app is just a web view, all the Xcode UI test helper methods become irrelevant, and I just want to tap on specific points, e.g. tap(x: 10, y: 10) should produce a tap at the point {10px; 10px} . That's probably very simple, but I can't figure out how to do it. Thanks. 回答1: You can tap a specific point with the XCUICoordinate API. Unfortunately you can't just say "tap 10,10"