-
Notifications
You must be signed in to change notification settings - Fork 141
Snapshot corrupts screen #296
Comments
Now I'm looking more closely, I'm seeing that other screen elements are undrawn when the snapshot happens. In the example above, the whole bar at the top is gone. In other screenshots - other complete elements are missing. this only applies on the 6+ and the iPad pro. |
I'm seeing something similar on 6+ and iPad Retina. It's as if drawing hasn't completed before the snapshot is taken. |
I'm seeing this intermittently on various different devices in the simulator (on my last run, it was all devices - see iPhone 5 screenshot below). I noticed, however, that running the simulator from the command line produces the same artifacts. That is, if I run the following, the screenshots in the "output" directory will have the same artifacts: xcodebuild -project YAWA.xcodeproj \
-scheme "YAWA iOS UI Tests" \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.1' \
-derivedDataPath './output' \
test So it's clearly not snapshot's doing - it's the simulator. Oddly, I've had some screenshots look ok, then not look ok on the same device (e.g. iPhone 5). If I run the simulator and hit command-S to generate the screenshot, the resulting screenshot looks fine. |
Ok, solved, and this is a duplicate of #249. Run the simulator at 100% scale (hint: hit command-1) and the screenshots are fine. |
good spot - thank you. |
Works for me, thank you |
It looks like the |
Scale solved it for me too. |
Scale solved it for me too |
Awesome scale did it for me too! |
I just pushed a new release https://github.com/fastlane/snapshot/releases/tag/1.2.0 |
This issue was migrated to fastlane/fastlane#2549. Please post all further comments there.
|
this is weird, and I suspect there is nothing you can do.
On both the iPhone 6+ and the iPad Pro, my toolbar which shows at the bottom of the screen corrupts when you take a screenshot. On all other simulators, it is fine.
It should look like
I don't see the corruption in the simulator - though I do see snapshot pressing the right-hand button in the toolbar.
The text was updated successfully, but these errors were encountered: