{"action":"created","comment":{"url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/comments/75954006","id":75954006,"diff_hunk":"@@ -1,33 +1,56 @@\n Feature: App update test\n-@Integration\n+@Integration @QA\n Scenario: Ensure app update can be obtained from HQ \n     Then I install the ccz app at \"app_update.ccz\"\n-    Then I login with username \"test\" and password \"123\"\n+    Then I login with username \"user_with_no_data\" and password \"123\"\n \n-    Then I scroll until I see the \"Start\" text\n-    Then I touch the \"Start\" text\n-\n-    Then I select module \"first module\"\n-    And I select form \"empty form\"\n-    Then I see the text \"A label\"\n+    # check base form content\n+    Then I press start\n+    Then I see the text \"Module Three\"\n+    Then I select module \"Module One\"\n+    And I select form \"Example 1\"\n+    Then I see the text \"A text question\"\n     Then I go back to the home screen\n \n-    Then I update the app\n-    Then I see the text \"version 10\"\n+    # download the app update\n+    Then I select \"Update App\" from the menu\n+    Then I see the text \"Current version: 2\"\n+    Then I touch the \"Stop checking\" text\n+\n+    Then I rotate to portrait\n+    Then I touch the \"Recheck\" text\n+    Then I rotate to landscape\n+\n+    Then I wait to see \"Update to version\"\n+    Then I see the text \"version 6\"\n+\n+    # reopen update screen to see if progress is saved\n+    Then I go back\n+    Then I select \"Update App\" from the menu\n+    Then I wait to see \"Update to version\"\n     Then I apply the update\n-    Then I login with username \"test\" and password \"123\"\n \n-    Then I scroll until I see the \"Start\" text\n-    Then I touch the \"Start\" text\n+    # check updated data, including multimedia\n+    Then I login with username \"user_with_no_data\" and password \"123\"\n \n-    Then I select module \"first module\"\n-    And I select form \"empty form\"\n-    Then I see the text \"An updated label\"\n+    Then I press start\n+    Then I don't see the text \"Module Three\"\n+    Then I select module \"Module One\"\n+    And I select form \"Example 1\"","path":"features/app_update.feature","position":55,"original_position":55,"commit_id":"9eb2e6d02b98e6d70d8196af79d588a4c7fe037d","original_commit_id":"9eb2e6d02b98e6d70d8196af79d588a4c7fe037d","user":{"login":"amstone326","id":3723143,"avatar_url":"https://avatars.githubusercontent.com/u/3723143?v=3","gravatar_id":"","url":"https://api.github.com/users/amstone326","html_url":"https://github.com/amstone326","followers_url":"https://api.github.com/users/amstone326/followers","following_url":"https://api.github.com/users/amstone326/following{/other_user}","gists_url":"https://api.github.com/users/amstone326/gists{/gist_id}","starred_url":"https://api.github.com/users/amstone326/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amstone326/subscriptions","organizations_url":"https://api.github.com/users/amstone326/orgs","repos_url":"https://api.github.com/users/amstone326/repos","events_url":"https://api.github.com/users/amstone326/events{/privacy}","received_events_url":"https://api.github.com/users/amstone326/received_events","type":"User","site_admin":false},"body":"What does the `And` prefix do differently?","created_at":"2016-08-23T21:24:56Z","updated_at":"2016-08-23T21:24:56Z","html_url":"https://github.com/dimagi/commcare-ui-tests/pull/20#discussion_r75954006","pull_request_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/comments/75954006"},"html":{"href":"https://github.com/dimagi/commcare-ui-tests/pull/20#discussion_r75954006"},"pull_request":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20","id":82030873,"html_url":"https://github.com/dimagi/commcare-ui-tests/pull/20","diff_url":"https://github.com/dimagi/commcare-ui-tests/pull/20.diff","patch_url":"https://github.com/dimagi/commcare-ui-tests/pull/20.patch","issue_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/20","number":20,"state":"open","locked":false,"title":"Some of the app update QA sheet","user":{"login":"phillipm","id":94817,"avatar_url":"https://avatars.githubusercontent.com/u/94817?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipm","html_url":"https://github.com/phillipm","followers_url":"https://api.github.com/users/phillipm/followers","following_url":"https://api.github.com/users/phillipm/following{/other_user}","gists_url":"https://api.github.com/users/phillipm/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipm/subscriptions","organizations_url":"https://api.github.com/users/phillipm/orgs","repos_url":"https://api.github.com/users/phillipm/repos","events_url":"https://api.github.com/users/phillipm/events{/privacy}","received_events_url":"https://api.github.com/users/phillipm/received_events","type":"User","site_admin":false},"body":"Test a single app update that deletes a module and changes the multimedia of a form question. Also tries to download an update in airplane mode.\r\n\r\nAnything more complicated would require more fine-grained control over HQ form builder and deploys.\r\n\r\nFound the following bug while writing this: https://github.com/dimagi/commcare-android/pull/1461","created_at":"2016-08-19T19:13:12Z","updated_at":"2016-08-23T21:24:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a90f62ff323d5c762cdf3e9d64f1ef4427df9184","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20/commits","review_comments_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20/comments","review_comment_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/20/comments","statuses_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/statuses/9eb2e6d02b98e6d70d8196af79d588a4c7fe037d","head":{"label":"dimagi:update-qa-sheet","ref":"update-qa-sheet","sha":"9eb2e6d02b98e6d70d8196af79d588a4c7fe037d","user":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":59218713,"name":"commcare-ui-tests","full_name":"dimagi/commcare-ui-tests","owner":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimagi/commcare-ui-tests","description":"UI and integration tests for CommCare Android app","fork":false,"url":"https://api.github.com/repos/dimagi/commcare-ui-tests","forks_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/forks","keys_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/teams","hooks_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/events","assignees_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/tags","blobs_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/subscription","commits_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/merges","archive_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/downloads","issues_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/deployments","created_at":"2016-05-19T15:22:59Z","updated_at":"2016-08-19T17:18:59Z","pushed_at":"2016-08-23T20:57:50Z","git_url":"git://github.com/dimagi/commcare-ui-tests.git","ssh_url":"git@github.com:dimagi/commcare-ui-tests.git","clone_url":"https://github.com/dimagi/commcare-ui-tests.git","svn_url":"https://github.com/dimagi/commcare-ui-tests","homepage":null,"size":3030,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"dimagi:master","ref":"master","sha":"c41d336db7c3d41027e39fba5fb644f58e16f6ca","user":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":59218713,"name":"commcare-ui-tests","full_name":"dimagi/commcare-ui-tests","owner":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimagi/commcare-ui-tests","description":"UI and integration tests for CommCare Android app","fork":false,"url":"https://api.github.com/repos/dimagi/commcare-ui-tests","forks_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/forks","keys_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/teams","hooks_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/events","assignees_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/tags","blobs_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/subscription","commits_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/merges","archive_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/downloads","issues_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcare-ui-tests/deployments","created_at":"2016-05-19T15:22:59Z","updated_at":"2016-08-19T17:18:59Z","pushed_at":"2016-08-23T20:57:50Z","git_url":"git://github.com/dimagi/commcare-ui-tests.git","ssh_url":"git@github.com:dimagi/commcare-ui-tests.git","clone_url":"https://github.com/dimagi/commcare-ui-tests.git","svn_url":"https://github.com/dimagi/commcare-ui-tests","homepage":null,"size":3030,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20"},"html":{"href":"https://github.com/dimagi/commcare-ui-tests/pull/20"},"issue":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/20"},"comments":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/dimagi/commcare-ui-tests/statuses/9eb2e6d02b98e6d70d8196af79d588a4c7fe037d"}}}}
{"actor":{"display_login":"amstone326"}}