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

Add command for saving screenshots in the camera roll #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sergiou87
Copy link

Hi,

@drodriguez and I've added a command for populating with photos the camera roll of an iOS device/simulator. We needed this in order to test our app properly, because our acceptance tests reset the simulator data before launching the app, assuring a clean environment for each scenario, but losing any photos we may have in the camera roll.

Therefore, we thought the cleanest way of putting images in the camera roll was adding a customised step for Frank so that each test could have different number of photos in the camera roll for different purposes.

Usage: just add the following step to an scenario

Given the device saves 7 screenshots in the camera roll

We think this command may be useful for more people, so if you like it feel free to merge it. If you think it needs some changes before merging, just tell me and I'll do my best :)

Thanks in advance!

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

Successfully merging this pull request may close these issues.

1 participant