{"action":"created","comment":{"url":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/comments/230608326","pull_request_review_id":171382215,"id":230608326,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDYwODMyNg==","diff_hunk":"@@ -22,7 +22,42 @@ class ExampleFeature: TestBase {\n       Then(I: seeTheExampleScreen)\n     }\n   }\n+}\n+\n+class BiometricTests: XCTestCase {\n+  \n+  private var app: XCUIApplication!\n+  \n+  private lazy var authenticateButton = app.buttons.element(matching: .button, identifier: \"authenticateButton\")\n+  private lazy var authenticateLabel = app.staticTexts.element(matching: .any, identifier: \"biometricStatusLabel\")\n+  \n+  override func setUp() {\n+    app = XCUIApplication()\n+  }\n+\n+  override func tearDown() {\n+    app = nil\n+  }\n   \n+  func test_launchWithBiometricsDisabled() {\n+    performUnenrollment()\n+    app.launch()\n+    Scenario(\"Launching the app with biometrics disabled\") {\n+      Given(I: seeBiometricsUnavailableStatus())\n+      Given(I: seeAuthenticateButtonIsDisabled())\n+    }\n+  }\n+  \n+  func test_biometricsEnabled() {\n+    performEnrollment()\n+    app.launch()\n+    Scenario(\"Enroll biometrics, background & foreground the app and then perform successful authentication\") {\n+      Given(I: seeBiometricsAvailableStatus)\n+      Given(I: seeAuthenticateButtonIsEnabled)","path":"Example/TABTestKit_ExampleUITests/ExampleFeature.swift","position":35,"original_position":35,"commit_id":"19e9f035bcbddf17c2b3d76b21d5e623c3aa7b6e","original_commit_id":"19e9f035bcbddf17c2b3d76b21d5e623c3aa7b6e","user":{"login":"KaneCheshire","id":10811515,"node_id":"MDQ6VXNlcjEwODExNTE1","avatar_url":"https://avatars0.githubusercontent.com/u/10811515?v=4","gravatar_id":"","url":"https://api.github.com/users/KaneCheshire","html_url":"https://github.com/KaneCheshire","followers_url":"https://api.github.com/users/KaneCheshire/followers","following_url":"https://api.github.com/users/KaneCheshire/following{/other_user}","gists_url":"https://api.github.com/users/KaneCheshire/gists{/gist_id}","starred_url":"https://api.github.com/users/KaneCheshire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaneCheshire/subscriptions","organizations_url":"https://api.github.com/users/KaneCheshire/orgs","repos_url":"https://api.github.com/users/KaneCheshire/repos","events_url":"https://api.github.com/users/KaneCheshire/events{/privacy}","received_events_url":"https://api.github.com/users/KaneCheshire/received_events","type":"User","site_admin":false},"body":"There are also another initialiser for steps like `Given(the:`, so you can have a step read:\r\n\r\n`And(the: authenticationButtonIsEnabled)`\r\n\r\n","created_at":"2018-11-04T22:34:27Z","updated_at":"2018-11-04T22:36:08Z","html_url":"https://github.com/theappbusiness/TABTestKit/pull/13#discussion_r230608326","pull_request_url":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/comments/230608326"},"html":{"href":"https://github.com/theappbusiness/TABTestKit/pull/13#discussion_r230608326"},"pull_request":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13"}},"in_reply_to_id":230608200},"pull_request":{"url":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13","id":227714913,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NzE0OTEz","html_url":"https://github.com/theappbusiness/TABTestKit/pull/13","diff_url":"https://github.com/theappbusiness/TABTestKit/pull/13.diff","patch_url":"https://github.com/theappbusiness/TABTestKit/pull/13.patch","issue_url":"https://api.github.com/repos/theappbusiness/TABTestKit/issues/13","number":13,"state":"open","locked":false,"title":"Adds biometrics support","user":{"login":"theblixguy","id":1307667,"node_id":"MDQ6VXNlcjEzMDc2Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1307667?v=4","gravatar_id":"","url":"https://api.github.com/users/theblixguy","html_url":"https://github.com/theblixguy","followers_url":"https://api.github.com/users/theblixguy/followers","following_url":"https://api.github.com/users/theblixguy/following{/other_user}","gists_url":"https://api.github.com/users/theblixguy/gists{/gist_id}","starred_url":"https://api.github.com/users/theblixguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theblixguy/subscriptions","organizations_url":"https://api.github.com/users/theblixguy/orgs","repos_url":"https://api.github.com/users/theblixguy/repos","events_url":"https://api.github.com/users/theblixguy/events{/privacy}","received_events_url":"https://api.github.com/users/theblixguy/received_events","type":"User","site_admin":false},"body":"This PR adds Biometrics support, so you can simulate enrollment and authentication. This is based on @KaneCheshire's repo: https://github.com/KaneCheshire/BiometricAutomationDemo","created_at":"2018-11-01T18:29:15Z","updated_at":"2018-11-04T22:36:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35796565312c259c1ace35691bf9fa2b9f22a824","assignee":{"login":"theblixguy","id":1307667,"node_id":"MDQ6VXNlcjEzMDc2Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1307667?v=4","gravatar_id":"","url":"https://api.github.com/users/theblixguy","html_url":"https://github.com/theblixguy","followers_url":"https://api.github.com/users/theblixguy/followers","following_url":"https://api.github.com/users/theblixguy/following{/other_user}","gists_url":"https://api.github.com/users/theblixguy/gists{/gist_id}","starred_url":"https://api.github.com/users/theblixguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theblixguy/subscriptions","organizations_url":"https://api.github.com/users/theblixguy/orgs","repos_url":"https://api.github.com/users/theblixguy/repos","events_url":"https://api.github.com/users/theblixguy/events{/privacy}","received_events_url":"https://api.github.com/users/theblixguy/received_events","type":"User","site_admin":false},"assignees":[{"login":"theblixguy","id":1307667,"node_id":"MDQ6VXNlcjEzMDc2Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1307667?v=4","gravatar_id":"","url":"https://api.github.com/users/theblixguy","html_url":"https://github.com/theblixguy","followers_url":"https://api.github.com/users/theblixguy/followers","following_url":"https://api.github.com/users/theblixguy/following{/other_user}","gists_url":"https://api.github.com/users/theblixguy/gists{/gist_id}","starred_url":"https://api.github.com/users/theblixguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theblixguy/subscriptions","organizations_url":"https://api.github.com/users/theblixguy/orgs","repos_url":"https://api.github.com/users/theblixguy/repos","events_url":"https://api.github.com/users/theblixguy/events{/privacy}","received_events_url":"https://api.github.com/users/theblixguy/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":737560522,"node_id":"MDU6TGFiZWw3Mzc1NjA1MjI=","url":"https://api.github.com/repos/theappbusiness/TABTestKit/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13/commits","review_comments_url":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13/comments","review_comment_url":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theappbusiness/TABTestKit/issues/13/comments","statuses_url":"https://api.github.com/repos/theappbusiness/TABTestKit/statuses/19e9f035bcbddf17c2b3d76b21d5e623c3aa7b6e","head":{"label":"theblixguy:feature/biometrics","ref":"feature/biometrics","sha":"19e9f035bcbddf17c2b3d76b21d5e623c3aa7b6e","user":{"login":"theblixguy","id":1307667,"node_id":"MDQ6VXNlcjEzMDc2Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1307667?v=4","gravatar_id":"","url":"https://api.github.com/users/theblixguy","html_url":"https://github.com/theblixguy","followers_url":"https://api.github.com/users/theblixguy/followers","following_url":"https://api.github.com/users/theblixguy/following{/other_user}","gists_url":"https://api.github.com/users/theblixguy/gists{/gist_id}","starred_url":"https://api.github.com/users/theblixguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theblixguy/subscriptions","organizations_url":"https://api.github.com/users/theblixguy/orgs","repos_url":"https://api.github.com/users/theblixguy/repos","events_url":"https://api.github.com/users/theblixguy/events{/privacy}","received_events_url":"https://api.github.com/users/theblixguy/received_events","type":"User","site_admin":false},"repo":{"id":155756430,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU3NTY0MzA=","name":"TABTestKit","full_name":"theblixguy/TABTestKit","private":false,"owner":{"login":"theblixguy","id":1307667,"node_id":"MDQ6VXNlcjEzMDc2Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/1307667?v=4","gravatar_id":"","url":"https://api.github.com/users/theblixguy","html_url":"https://github.com/theblixguy","followers_url":"https://api.github.com/users/theblixguy/followers","following_url":"https://api.github.com/users/theblixguy/following{/other_user}","gists_url":"https://api.github.com/users/theblixguy/gists{/gist_id}","starred_url":"https://api.github.com/users/theblixguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theblixguy/subscriptions","organizations_url":"https://api.github.com/users/theblixguy/orgs","repos_url":"https://api.github.com/users/theblixguy/repos","events_url":"https://api.github.com/users/theblixguy/events{/privacy}","received_events_url":"https://api.github.com/users/theblixguy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/theblixguy/TABTestKit","description":null,"fork":true,"url":"https://api.github.com/repos/theblixguy/TABTestKit","forks_url":"https://api.github.com/repos/theblixguy/TABTestKit/forks","keys_url":"https://api.github.com/repos/theblixguy/TABTestKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theblixguy/TABTestKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theblixguy/TABTestKit/teams","hooks_url":"https://api.github.com/repos/theblixguy/TABTestKit/hooks","issue_events_url":"https://api.github.com/repos/theblixguy/TABTestKit/issues/events{/number}","events_url":"https://api.github.com/repos/theblixguy/TABTestKit/events","assignees_url":"https://api.github.com/repos/theblixguy/TABTestKit/assignees{/user}","branches_url":"https://api.github.com/repos/theblixguy/TABTestKit/branches{/branch}","tags_url":"https://api.github.com/repos/theblixguy/TABTestKit/tags","blobs_url":"https://api.github.com/repos/theblixguy/TABTestKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theblixguy/TABTestKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theblixguy/TABTestKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/theblixguy/TABTestKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theblixguy/TABTestKit/statuses/{sha}","languages_url":"https://api.github.com/repos/theblixguy/TABTestKit/languages","stargazers_url":"https://api.github.com/repos/theblixguy/TABTestKit/stargazers","contributors_url":"https://api.github.com/repos/theblixguy/TABTestKit/contributors","subscribers_url":"https://api.github.com/repos/theblixguy/TABTestKit/subscribers","subscription_url":"https://api.github.com/repos/theblixguy/TABTestKit/subscription","commits_url":"https://api.github.com/repos/theblixguy/TABTestKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/theblixguy/TABTestKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/theblixguy/TABTestKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/theblixguy/TABTestKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/theblixguy/TABTestKit/contents/{+path}","compare_url":"https://api.github.com/repos/theblixguy/TABTestKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theblixguy/TABTestKit/merges","archive_url":"https://api.github.com/repos/theblixguy/TABTestKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theblixguy/TABTestKit/downloads","issues_url":"https://api.github.com/repos/theblixguy/TABTestKit/issues{/number}","pulls_url":"https://api.github.com/repos/theblixguy/TABTestKit/pulls{/number}","milestones_url":"https://api.github.com/repos/theblixguy/TABTestKit/milestones{/number}","notifications_url":"https://api.github.com/repos/theblixguy/TABTestKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theblixguy/TABTestKit/labels{/name}","releases_url":"https://api.github.com/repos/theblixguy/TABTestKit/releases{/id}","deployments_url":"https://api.github.com/repos/theblixguy/TABTestKit/deployments","created_at":"2018-11-01T18:11:14Z","updated_at":"2018-11-01T18:11:17Z","pushed_at":"2018-11-02T18:28:10Z","git_url":"git://github.com/theblixguy/TABTestKit.git","ssh_url":"git@github.com:theblixguy/TABTestKit.git","clone_url":"https://github.com/theblixguy/TABTestKit.git","svn_url":"https://github.com/theblixguy/TABTestKit","homepage":null,"size":214,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theappbusiness:develop","ref":"develop","sha":"4213464161caada8ccf5e1e2d317f0cd5f8225be","user":{"login":"theappbusiness","id":1842206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDIyMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1842206?v=4","gravatar_id":"","url":"https://api.github.com/users/theappbusiness","html_url":"https://github.com/theappbusiness","followers_url":"https://api.github.com/users/theappbusiness/followers","following_url":"https://api.github.com/users/theappbusiness/following{/other_user}","gists_url":"https://api.github.com/users/theappbusiness/gists{/gist_id}","starred_url":"https://api.github.com/users/theappbusiness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theappbusiness/subscriptions","organizations_url":"https://api.github.com/users/theappbusiness/orgs","repos_url":"https://api.github.com/users/theappbusiness/repos","events_url":"https://api.github.com/users/theappbusiness/events{/privacy}","received_events_url":"https://api.github.com/users/theappbusiness/received_events","type":"Organization","site_admin":false},"repo":{"id":109137443,"node_id":"MDEwOlJlcG9zaXRvcnkxMDkxMzc0NDM=","name":"TABTestKit","full_name":"theappbusiness/TABTestKit","private":false,"owner":{"login":"theappbusiness","id":1842206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDIyMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1842206?v=4","gravatar_id":"","url":"https://api.github.com/users/theappbusiness","html_url":"https://github.com/theappbusiness","followers_url":"https://api.github.com/users/theappbusiness/followers","following_url":"https://api.github.com/users/theappbusiness/following{/other_user}","gists_url":"https://api.github.com/users/theappbusiness/gists{/gist_id}","starred_url":"https://api.github.com/users/theappbusiness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theappbusiness/subscriptions","organizations_url":"https://api.github.com/users/theappbusiness/orgs","repos_url":"https://api.github.com/users/theappbusiness/repos","events_url":"https://api.github.com/users/theappbusiness/events{/privacy}","received_events_url":"https://api.github.com/users/theappbusiness/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/theappbusiness/TABTestKit","description":null,"fork":false,"url":"https://api.github.com/repos/theappbusiness/TABTestKit","forks_url":"https://api.github.com/repos/theappbusiness/TABTestKit/forks","keys_url":"https://api.github.com/repos/theappbusiness/TABTestKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theappbusiness/TABTestKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theappbusiness/TABTestKit/teams","hooks_url":"https://api.github.com/repos/theappbusiness/TABTestKit/hooks","issue_events_url":"https://api.github.com/repos/theappbusiness/TABTestKit/issues/events{/number}","events_url":"https://api.github.com/repos/theappbusiness/TABTestKit/events","assignees_url":"https://api.github.com/repos/theappbusiness/TABTestKit/assignees{/user}","branches_url":"https://api.github.com/repos/theappbusiness/TABTestKit/branches{/branch}","tags_url":"https://api.github.com/repos/theappbusiness/TABTestKit/tags","blobs_url":"https://api.github.com/repos/theappbusiness/TABTestKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theappbusiness/TABTestKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theappbusiness/TABTestKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/theappbusiness/TABTestKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theappbusiness/TABTestKit/statuses/{sha}","languages_url":"https://api.github.com/repos/theappbusiness/TABTestKit/languages","stargazers_url":"https://api.github.com/repos/theappbusiness/TABTestKit/stargazers","contributors_url":"https://api.github.com/repos/theappbusiness/TABTestKit/contributors","subscribers_url":"https://api.github.com/repos/theappbusiness/TABTestKit/subscribers","subscription_url":"https://api.github.com/repos/theappbusiness/TABTestKit/subscription","commits_url":"https://api.github.com/repos/theappbusiness/TABTestKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/theappbusiness/TABTestKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/theappbusiness/TABTestKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/theappbusiness/TABTestKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/theappbusiness/TABTestKit/contents/{+path}","compare_url":"https://api.github.com/repos/theappbusiness/TABTestKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theappbusiness/TABTestKit/merges","archive_url":"https://api.github.com/repos/theappbusiness/TABTestKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theappbusiness/TABTestKit/downloads","issues_url":"https://api.github.com/repos/theappbusiness/TABTestKit/issues{/number}","pulls_url":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls{/number}","milestones_url":"https://api.github.com/repos/theappbusiness/TABTestKit/milestones{/number}","notifications_url":"https://api.github.com/repos/theappbusiness/TABTestKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theappbusiness/TABTestKit/labels{/name}","releases_url":"https://api.github.com/repos/theappbusiness/TABTestKit/releases{/id}","deployments_url":"https://api.github.com/repos/theappbusiness/TABTestKit/deployments","created_at":"2017-11-01T13:52:13Z","updated_at":"2018-10-10T08:58:31Z","pushed_at":"2018-11-02T18:28:12Z","git_url":"git://github.com/theappbusiness/TABTestKit.git","ssh_url":"git@github.com:theappbusiness/TABTestKit.git","clone_url":"https://github.com/theappbusiness/TABTestKit.git","svn_url":"https://github.com/theappbusiness/TABTestKit","homepage":null,"size":200,"stargazers_count":5,"watchers_count":5,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13"},"html":{"href":"https://github.com/theappbusiness/TABTestKit/pull/13"},"issue":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/issues/13"},"comments":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/theappbusiness/TABTestKit/statuses/19e9f035bcbddf17c2b3d76b21d5e623c3aa7b6e"}},"author_association":"NONE"}}
{"actor":{"display_login":"KaneCheshire"}}