{"action":"created","comment":{"url":"https://api.github.com/repos/odoo/odoo/pulls/comments/27853595","id":27853595,"diff_hunk":"@@ -0,0 +1,198 @@\n+odoo.define('survey.tour_test_survey', function (require) {\n+'use strict';\n+var Core = require('web.core');\n+var Tour = require('web.Tour');\n+var _t = Core._t;\n+\n+\n+Tour.register({\n+    id:   'test_survey',\n+    name: _t(\"try to create and fill survey\"),\n+    path: '/survey/start/user-feedback-form-1/phantom',\n+    mode: 'test',\n+    steps: [\n+        // Page-1\n+        {\n+            title:     \"Clicking on Start Survey\",\n+            element:   'a.btn.btn-primary.btn-lg:contains(\"Start Survey\")',\n+        },\n+        // Question: Where do you develop your new features?\n+        {\n+            title:     \"Selecting answer 'Yes, I use a version < 7.0'\",\n+            element:   'select[name=\"1_1_1\"]',\n+            sampleText:'1',\n+        },\n+        // Question: Which modules are you using/testing?\n+        {\n+            title:     \"Ticking answer 'Sales Management'\",\n+            element:   'input[name=\"1_1_2_5\"][value=\"5\"]',\n+            sampleText:'5',\n+        },\n+        {\n+            title:     \"Clicking on Next Page\",\n+            element:   'button[value=\"next\"]',\n+        },\n+        // Page-2\n+        // Question: What do you think about the documentation available on doc.openerp.com?\n+        {\n+            title:     \"For 'It is up-to-date' checking 'Totally disagree'\",\n+            element:   'input[name=\"1_2_3_15\"][value=\"11\"]',\n+            sampleText:'11',\n+        },\n+        {\n+            title:     \"For 'It helps in the beginning' ckecking 'Disagree'\",\n+            element:   'input[name=\"1_2_3_16\"][value=\"12\"]',\n+            sampleText:'12',\n+        },\n+        {\n+            title:     \"For 'I use the contextual help in Odoo' checking 'Agree'\",\n+            element:   'input[name=\"1_2_3_17\"][value=\"13\"]',\n+            sampleText:'13',\n+        },\n+        {\n+            title:     \"For 'It is complete' checking 'Totally disagree'\",\n+            element:   'input[name=\"1_2_3_18\"][value=\"11\"]',\n+            sampleText:'11',\n+        },\n+        {\n+            title:     \"For 'It is clear' checking 'Disagree'\",\n+            element:   'input[name=\"1_2_3_19\"][value=\"12\"]',\n+            sampleText:'12',\n+        },\n+        // Question: What do you think about the process views of Odoo, available in the web client ?\n+        {\n+            title:     \"For 'They help new users to understand Odoo' checking 'Totally disagree'\",\n+            element:   'input[name=\"1_2_4_24\"][value=\"20\"]',\n+            sampleText:'20',\n+        },\n+        {\n+            title:     \"For 'They are clean and correct' checking 'Totally disagree'\",\n+            element:   'input[name=\"1_2_4_25\"][value=\"20\"]',\n+            sampleText:'20',\n+        },\n+        {\n+            title:     \"For 'They are useful on a daily usage' checking 'Totally disagree'\",\n+            element:   'input[name=\"1_2_4_26\"][value=\"20\"]',\n+            sampleText:'20',\n+        },\n+        {\n+            title:     \"For 'A process is defined for all enterprise flows' checking 'Disagree'\",\n+            element:   'input[name=\"1_2_4_27\"][value=\"21\"]',\n+            sampleText:'21',\n+        },\n+        {\n+            title:     \"For 'It's easy to find the process you need' checking 'Agree'\",\n+            element:   'input[name=\"1_2_4_28\"][value=\"22\"]',\n+            sampleText:'22',\n+        },\n+        // Question: Do you have suggestions on how to improve the process view?\n+        {\n+            title:     \"Writing answer\",\n+            element:   'textarea[name=\"1_2_5\"]',\n+            sampleText:'I do not want to provide any suggestions.',\n+        },\n+        // Question: What do you think about the structure of the menus?\n+        {\n+            title:     \"Checking 'It can be improved'\",\n+            element:   'input[name=\"1_2_6_30\"][value=\"30\"]',\n+            sampleText:'30',\n+        },\n+        // Question: What do you think about the groups of users?\n+        {\n+            title:     \"For 'The security rules defined on groups are useful' checking 'Agree'\",\n+            element:   'input[name=\"1_2_7_36\"][value=\"32\"]',\n+            sampleText:'32',\n+        },\n+        {\n+            title:     \"For 'Those security rules are standard and can be used out-of-the-box in most cases' checking 'Totally agree'\",\n+            element:   'input[name=\"1_2_7_37\"][value=\"35\"]',\n+            sampleText:'35',\n+        },\n+        {\n+            title:     \"For 'The 'Usability/Extended View' group helps in daily work' checking 'Totally agree'\",\n+            element:   'input[name=\"1_2_7_38\"][value=\"35\"]',\n+            sampleText:'35',\n+        },\n+        {\n+            title:     \"For 'The 'Usability/Extended View' group hides only optional fields' checking 'Totally agree'\",\n+            element:   'input[name=\"1_2_7_39\"][value=\"33\"]',\n+            sampleText:'33',\n+        },\n+        {\n+            title:     \"For 'The groups set on menu items are relevant' checking 'Totally disagree'\",\n+            element:   'input[name=\"1_2_7_40\"][value=\"32\"]',\n+            sampleText:'32',\n+        },\n+        // Question: What do you think about the structure of the menus?\n+        {\n+            title:     \"Checking 'There are too few groups defined, security isn't accurate enough'\",\n+            element:   'input[name=\"1_2_8\"][value=\"42\"]',\n+            sampleText:'42',\n+        },\n+        // Question: What do you think about configuration wizards?\n+        {\n+            title:     \"For 'Descriptions and help tooltips are clear enough' checking 'Agree'\",\n+            element:   'input[name=\"1_2_9_48\"][value=\"46\"]',\n+            sampleText:'46',\n+        },\n+        {\n+            title:     \"For 'Configuration wizard exists for each important setting' checking 'Agree'\",\n+            element:   'input[name=\"1_2_9_49\"][value=\"46\"]',\n+            sampleText:'46',\n+        },\n+        {\n+            title:     \"For 'Extra modules proposed are relevant' checking 'Totally agree'\",\n+            element:   'input[name=\"1_2_9_50\"][value=\"47\"]',\n+            sampleText:'47',\n+        },\n+        {\n+            title:     \"For 'Running the configuration wizards is a good way to spare time' checking 'Totally disagree'\",\n+            element:   'input[name=\"1_2_9_51\"][value=\"44\"]',\n+            sampleText:'44',\n+        },\n+        {\n+            title:     \"Clicking on Next Page\",\n+            element:   'button[value=\"next\"]',\n+        },\n+        // Page-3\n+        // Question: How do you contribute or plan to contribute to Odoo?\n+        {\n+            title:     \"Checking 'I would like to contribute but I don not know how?'\",\n+            element:   'input[name=\"1_3_10_53\"][value=\"53\"]',\n+            sampleText:'53',\n+        },\n+        // Question: Do you have a proposition to help people to contribute?\n+        {\n+            title:     \"Writing answer\",\n+            element:   'textarea[name=\"1_3_11\"]',\n+            sampleText:'No. I do not have any proposition to helo people to contribute.',","path":"addons/survey/static/src/js/tour_test_survey.js","position":168,"original_position":168,"commit_id":"a18b83577a7b03f4109e8fff5c77654ba10d25ba","original_commit_id":"a18b83577a7b03f4109e8fff5c77654ba10d25ba","user":{"login":"rga-odoo","id":1192975,"avatar_url":"https://avatars.githubusercontent.com/u/1192975?v=3","gravatar_id":"","url":"https://api.github.com/users/rga-odoo","html_url":"https://github.com/rga-odoo","followers_url":"https://api.github.com/users/rga-odoo/followers","following_url":"https://api.github.com/users/rga-odoo/following{/other_user}","gists_url":"https://api.github.com/users/rga-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/rga-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rga-odoo/subscriptions","organizations_url":"https://api.github.com/users/rga-odoo/orgs","repos_url":"https://api.github.com/users/rga-odoo/repos","events_url":"https://api.github.com/users/rga-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/rga-odoo/received_events","type":"User","site_admin":false},"body":"typo helo ==> help","created_at":"2015-04-07T06:18:27Z","updated_at":"2015-04-07T06:18:27Z","html_url":"https://github.com/odoo/odoo/pull/6169#discussion_r27853595","pull_request_url":"https://api.github.com/repos/odoo/odoo/pulls/6169","_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments/27853595"},"html":{"href":"https://github.com/odoo/odoo/pull/6169#discussion_r27853595"},"pull_request":{"href":"https://api.github.com/repos/odoo/odoo/pulls/6169"}}},"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/6169","id":32734230,"html_url":"https://github.com/odoo/odoo/pull/6169","diff_url":"https://github.com/odoo/odoo/pull/6169.diff","patch_url":"https://github.com/odoo/odoo/pull/6169.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/6169","number":6169,"state":"open","locked":false,"title":"[ADD] survey:  test cases and js tour","user":{"login":"rga-odoo","id":1192975,"avatar_url":"https://avatars.githubusercontent.com/u/1192975?v=3","gravatar_id":"","url":"https://api.github.com/users/rga-odoo","html_url":"https://github.com/rga-odoo","followers_url":"https://api.github.com/users/rga-odoo/followers","following_url":"https://api.github.com/users/rga-odoo/following{/other_user}","gists_url":"https://api.github.com/users/rga-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/rga-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rga-odoo/subscriptions","organizations_url":"https://api.github.com/users/rga-odoo/orgs","repos_url":"https://api.github.com/users/rga-odoo/repos","events_url":"https://api.github.com/users/rga-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/rga-odoo/received_events","type":"User","site_admin":false},"body":"task: https://www.odoo.com/web#id=12334&view_type=form&model=project.task&menu_id=3942&action=327\r\npad: https://pad.odoo.com/p/r.EmnhSSGiwq1PH6Xq","created_at":"2015-04-07T05:17:09Z","updated_at":"2015-04-07T06:18:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4c3699051eb04e31a13e4f1fc5a226c606c39e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/6169/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/6169/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/6169/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/a18b83577a7b03f4109e8fff5c77654ba10d25ba","head":{"label":"odoo-dev:master-survey-testcases-jsh","ref":"master-survey-testcases-jsh","sha":"a18b83577a7b03f4109e8fff5c77654ba10d25ba","user":{"login":"odoo-dev","id":7466976,"avatar_url":"https://avatars.githubusercontent.com/u/7466976?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":19853934,"name":"odoo","full_name":"odoo-dev/odoo","owner":{"login":"odoo-dev","id":7466976,"avatar_url":"https://avatars.githubusercontent.com/u/7466976?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo-dev/odoo","description":"RD Dev Repository","fork":true,"url":"https://api.github.com/repos/odoo-dev/odoo","forks_url":"https://api.github.com/repos/odoo-dev/odoo/forks","keys_url":"https://api.github.com/repos/odoo-dev/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo-dev/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo-dev/odoo/teams","hooks_url":"https://api.github.com/repos/odoo-dev/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo-dev/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo-dev/odoo/events","assignees_url":"https://api.github.com/repos/odoo-dev/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo-dev/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo-dev/odoo/tags","blobs_url":"https://api.github.com/repos/odoo-dev/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo-dev/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo-dev/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo-dev/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo-dev/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo-dev/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo-dev/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo-dev/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo-dev/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo-dev/odoo/subscription","commits_url":"https://api.github.com/repos/odoo-dev/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo-dev/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo-dev/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo-dev/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo-dev/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo-dev/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo-dev/odoo/merges","archive_url":"https://api.github.com/repos/odoo-dev/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo-dev/odoo/downloads","issues_url":"https://api.github.com/repos/odoo-dev/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo-dev/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo-dev/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo-dev/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo-dev/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo-dev/odoo/releases{/id}","created_at":"2014-05-16T11:16:19Z","updated_at":"2015-03-30T13:44:19Z","pushed_at":"2015-04-07T06:14:01Z","git_url":"git://github.com/odoo-dev/odoo.git","ssh_url":"git@github.com:odoo-dev/odoo.git","clone_url":"https://github.com/odoo-dev/odoo.git","svn_url":"https://github.com/odoo-dev/odoo","homepage":"https://www.odoo.com","size":1093876,"stargazers_count":44,"watchers_count":44,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":3,"forks":19,"open_issues":3,"watchers":44,"default_branch":"master"}},"base":{"label":"odoo:master","ref":"master","sha":"5b41264b116a571bc316829b849bc2f3133c4b87","user":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"repo":{"id":19745004,"name":"odoo","full_name":"odoo/odoo","owner":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo/odoo","description":"Odoo (formerly OpenERP). Open Source Apps To Grow Your Business.","fork":false,"url":"https://api.github.com/repos/odoo/odoo","forks_url":"https://api.github.com/repos/odoo/odoo/forks","keys_url":"https://api.github.com/repos/odoo/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo/odoo/teams","hooks_url":"https://api.github.com/repos/odoo/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo/odoo/events","assignees_url":"https://api.github.com/repos/odoo/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo/odoo/tags","blobs_url":"https://api.github.com/repos/odoo/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo/odoo/subscription","commits_url":"https://api.github.com/repos/odoo/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo/odoo/merges","archive_url":"https://api.github.com/repos/odoo/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo/odoo/downloads","issues_url":"https://api.github.com/repos/odoo/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo/odoo/releases{/id}","created_at":"2014-05-13T15:38:58Z","updated_at":"2015-04-07T04:25:53Z","pushed_at":"2015-04-07T06:14:03Z","git_url":"git://github.com/odoo/odoo.git","ssh_url":"git@github.com:odoo/odoo.git","clone_url":"https://github.com/odoo/odoo.git","svn_url":"https://github.com/odoo/odoo","homepage":"https://www.odoo.com","size":1137200,"stargazers_count":2374,"watchers_count":2374,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1846,"mirror_url":null,"open_issues_count":2179,"forks":1846,"open_issues":2179,"watchers":2374,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/6169"},"html":{"href":"https://github.com/odoo/odoo/pull/6169"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/6169"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/6169/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/6169/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/6169/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/a18b83577a7b03f4109e8fff5c77654ba10d25ba"}}}}