{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/snapshot/issues/234","labels_url":"https://api.github.com/repos/fastlane/snapshot/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/snapshot/issues/234/comments","events_url":"https://api.github.com/repos/fastlane/snapshot/issues/234/events","html_url":"https://github.com/fastlane/snapshot/issues/234","id":113042754,"number":234,"title":"Snapshot runs UITests but does not take screenshots","user":{"login":"oskarn97","id":1344990,"avatar_url":"https://avatars.githubusercontent.com/u/1344990?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarn97","html_url":"https://github.com/oskarn97","followers_url":"https://api.github.com/users/oskarn97/followers","following_url":"https://api.github.com/users/oskarn97/following{/other_user}","gists_url":"https://api.github.com/users/oskarn97/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarn97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarn97/subscriptions","organizations_url":"https://api.github.com/users/oskarn97/orgs","repos_url":"https://api.github.com/users/oskarn97/repos","events_url":"https://api.github.com/users/oskarn97/events{/privacy}","received_events_url":"https://api.github.com/users/oskarn97/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-10-23T15:27:42Z","updated_at":"2015-12-16T10:03:27Z","closed_at":null,"body":"Hello,\r\n\r\nI tried to integrate UITests into an existing project.\r\nSnapshot runs the tests successfully but is unable to fetch the screenshots.\r\n\r\nThe log:\r\n\r\n▸ Linking UITests\r\nRunning Tests: ▸ Touching UITests.xctest\r\n▸ Test Succeeded\r\nAll tests\r\nTest Suite UITests.xctest started\r\nUITests\r\n✓ testExample (36.821 seconds)\r\n\r\n\r\n\t Executed 1 test, with 0 failures (0 unexpected) in 36.821 (36.822) seconds\r\n\r\n[17:07:57]: Collecting screenshots...\r\n[17:07:57]: Found 0 screenshots...\r\n[17:07:57]: Looks like the number of screenshots (0) doesn't match the number of names (4)\r\n[17:07:57]: no implicit conversion of nil into String\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/snapshot/issues/comments/165054230","html_url":"https://github.com/fastlane/snapshot/issues/234#issuecomment-165054230","issue_url":"https://api.github.com/repos/fastlane/snapshot/issues/234","id":165054230,"user":{"login":"Name-less","id":10023703,"avatar_url":"https://avatars.githubusercontent.com/u/10023703?v=3","gravatar_id":"","url":"https://api.github.com/users/Name-less","html_url":"https://github.com/Name-less","followers_url":"https://api.github.com/users/Name-less/followers","following_url":"https://api.github.com/users/Name-less/following{/other_user}","gists_url":"https://api.github.com/users/Name-less/gists{/gist_id}","starred_url":"https://api.github.com/users/Name-less/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Name-less/subscriptions","organizations_url":"https://api.github.com/users/Name-less/orgs","repos_url":"https://api.github.com/users/Name-less/repos","events_url":"https://api.github.com/users/Name-less/events{/privacy}","received_events_url":"https://api.github.com/users/Name-less/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T10:03:27Z","updated_at":"2015-12-16T10:03:27Z","body":"@KrauseFx here is my UI Test file : \r\n```\r\n- (void)setUp {\r\n    [super setUp];\r\n    \r\n    // Put setup code here. This method is called before the invocation of each test method in the class.\r\n    \r\n    // In UI tests it is usually best to stop immediately when a failure occurs.\r\n    self.continueAfterFailure = NO;\r\n    // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.\r\n    [[[XCUIApplication alloc] init] launch];\r\n    [self loginSnapShot];\r\n}\r\n\r\n-(void)loginSnapShot\r\n{\r\n    SnapshotHelper *snapshotHelper = [[SnapshotHelper alloc] init];\r\n    XCUIElementQuery *tablesQuery = [[XCUIApplication alloc] init].tables;\r\n    [tablesQuery.staticTexts[@\"Dev\"] tap];\r\n    [snapshotHelper snapshot:@\"Login\" waitForLoadingIndicator:NO];\r\n\r\n    \r\n}\r\n```\r\n"}}