{"action":"created","comment":{"url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/comments/35733032","id":35733032,"diff_hunk":"@@ -327,4 +334,73 @@ describe('Aldryn Jobs tests: ', function () {\n         });\n     });\n \n+    it('deletes job opening', function () {\n+        // wait for modal iframe to appear\n+        browser.wait(function () {\n+            return browser.isElementPresent(jobsPage.sideMenuIframe);\n+        }, jobsPage.iframeWaitTime);\n+\n+        // switch to sidebar menu iframe\n+        browser.switchTo()\n+            .frame(browser.findElement(By.css('.cms_sideframe-frame iframe')));\n+\n+        // wait for edit job opening link to appear\n+        browser.wait(function () {\n+            return browser.isElementPresent(jobsPage.editJobOpeningLinks.first());\n+        }, jobsPage.mainElementsWaitTime);\n+\n+        // validate edit job opening links texts to delete proper job opening\n+        jobsPage.editJobOpeningLinks.first().getText().then(function (text) {\n+            // wait till horizontal scrollbar will disappear and\n+            // editJobOpeningLinks will become clickable\n+            browser.sleep(1500);\n+            if (text === jobName) {\n+                return jobsPage.editJobOpeningLinks.first().click();\n+            } else {\n+                jobsPage.editJobOpeningLinks.get(1).getText()\n+                    .then(function (text) {\n+                    if (text === jobName) {\n+                        return jobsPage.editJobOpeningLinks.get(1).click();","path":"aldryn_jobs/tests/frontend/integration/specs/spec.jobs.crud.js","position":51,"original_position":51,"commit_id":"7c371f1931e5038060262579921c570491fcc868","original_commit_id":"7c371f1931e5038060262579921c570491fcc868","user":{"login":"vxsx","id":366813,"avatar_url":"https://avatars.githubusercontent.com/u/366813?v=3","gravatar_id":"","url":"https://api.github.com/users/vxsx","html_url":"https://github.com/vxsx","followers_url":"https://api.github.com/users/vxsx/followers","following_url":"https://api.github.com/users/vxsx/following{/other_user}","gists_url":"https://api.github.com/users/vxsx/gists{/gist_id}","starred_url":"https://api.github.com/users/vxsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vxsx/subscriptions","organizations_url":"https://api.github.com/users/vxsx/orgs","repos_url":"https://api.github.com/users/vxsx/repos","events_url":"https://api.github.com/users/vxsx/events{/privacy}","received_events_url":"https://api.github.com/users/vxsx/received_events","type":"User","site_admin":false},"body":"why are you returning here","created_at":"2015-07-29T07:14:59Z","updated_at":"2015-07-29T07:14:59Z","html_url":"https://github.com/aldryn/aldryn-jobs/pull/136#discussion_r35733032","pull_request_url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/comments/35733032"},"html":{"href":"https://github.com/aldryn/aldryn-jobs/pull/136#discussion_r35733032"},"pull_request":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136","id":41033192,"html_url":"https://github.com/aldryn/aldryn-jobs/pull/136","diff_url":"https://github.com/aldryn/aldryn-jobs/pull/136.diff","patch_url":"https://github.com/aldryn/aldryn-jobs/pull/136.patch","issue_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/136","number":136,"state":"open","locked":false,"title":"Added job deletion test","user":{"login":"Marketionist","id":534603,"avatar_url":"https://avatars.githubusercontent.com/u/534603?v=3","gravatar_id":"","url":"https://api.github.com/users/Marketionist","html_url":"https://github.com/Marketionist","followers_url":"https://api.github.com/users/Marketionist/followers","following_url":"https://api.github.com/users/Marketionist/following{/other_user}","gists_url":"https://api.github.com/users/Marketionist/gists{/gist_id}","starred_url":"https://api.github.com/users/Marketionist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marketionist/subscriptions","organizations_url":"https://api.github.com/users/Marketionist/orgs","repos_url":"https://api.github.com/users/Marketionist/repos","events_url":"https://api.github.com/users/Marketionist/events{/privacy}","received_events_url":"https://api.github.com/users/Marketionist/received_events","type":"User","site_admin":false},"body":"**This pull request adds job deletion test**\r\n\r\nAlso:\r\n- minor updates for adding a new jobs block on the page","created_at":"2015-07-28T16:43:47Z","updated_at":"2015-07-29T07:14:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71baea54f04a0a8b2e2a636224468f5cdc972951","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136/commits","review_comments_url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136/comments","review_comment_url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/136/comments","statuses_url":"https://api.github.com/repos/aldryn/aldryn-jobs/statuses/7c371f1931e5038060262579921c570491fcc868","head":{"label":"aldryn:feature/tests","ref":"feature/tests","sha":"7c371f1931e5038060262579921c570491fcc868","user":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"repo":{"id":10734331,"name":"aldryn-jobs","full_name":"aldryn/aldryn-jobs","owner":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aldryn/aldryn-jobs","description":"A job publishing application for Aldryn and django CMS – part of the Essential Addons.","fork":false,"url":"https://api.github.com/repos/aldryn/aldryn-jobs","forks_url":"https://api.github.com/repos/aldryn/aldryn-jobs/forks","keys_url":"https://api.github.com/repos/aldryn/aldryn-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aldryn/aldryn-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aldryn/aldryn-jobs/teams","hooks_url":"https://api.github.com/repos/aldryn/aldryn-jobs/hooks","issue_events_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/aldryn/aldryn-jobs/events","assignees_url":"https://api.github.com/repos/aldryn/aldryn-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/aldryn/aldryn-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/aldryn/aldryn-jobs/tags","blobs_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aldryn/aldryn-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/aldryn/aldryn-jobs/languages","stargazers_url":"https://api.github.com/repos/aldryn/aldryn-jobs/stargazers","contributors_url":"https://api.github.com/repos/aldryn/aldryn-jobs/contributors","subscribers_url":"https://api.github.com/repos/aldryn/aldryn-jobs/subscribers","subscription_url":"https://api.github.com/repos/aldryn/aldryn-jobs/subscription","commits_url":"https://api.github.com/repos/aldryn/aldryn-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aldryn/aldryn-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aldryn/aldryn-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/aldryn/aldryn-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aldryn/aldryn-jobs/merges","archive_url":"https://api.github.com/repos/aldryn/aldryn-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aldryn/aldryn-jobs/downloads","issues_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/aldryn/aldryn-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/aldryn/aldryn-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aldryn/aldryn-jobs/labels{/name}","releases_url":"https://api.github.com/repos/aldryn/aldryn-jobs/releases{/id}","created_at":"2013-06-17T09:43:28Z","updated_at":"2015-07-10T07:47:21Z","pushed_at":"2015-07-28T16:43:47Z","git_url":"git://github.com/aldryn/aldryn-jobs.git","ssh_url":"git@github.com:aldryn/aldryn-jobs.git","clone_url":"https://github.com/aldryn/aldryn-jobs.git","svn_url":"https://github.com/aldryn/aldryn-jobs","homepage":"http://www.aldryn.com/en/marketplace/aldryn-jobs","size":2668,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"aldryn:master","ref":"master","sha":"ff92396eda5f062463bb5be37039bb5b0e249358","user":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"repo":{"id":10734331,"name":"aldryn-jobs","full_name":"aldryn/aldryn-jobs","owner":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aldryn/aldryn-jobs","description":"A job publishing application for Aldryn and django CMS – part of the Essential Addons.","fork":false,"url":"https://api.github.com/repos/aldryn/aldryn-jobs","forks_url":"https://api.github.com/repos/aldryn/aldryn-jobs/forks","keys_url":"https://api.github.com/repos/aldryn/aldryn-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aldryn/aldryn-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aldryn/aldryn-jobs/teams","hooks_url":"https://api.github.com/repos/aldryn/aldryn-jobs/hooks","issue_events_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/aldryn/aldryn-jobs/events","assignees_url":"https://api.github.com/repos/aldryn/aldryn-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/aldryn/aldryn-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/aldryn/aldryn-jobs/tags","blobs_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aldryn/aldryn-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/aldryn/aldryn-jobs/languages","stargazers_url":"https://api.github.com/repos/aldryn/aldryn-jobs/stargazers","contributors_url":"https://api.github.com/repos/aldryn/aldryn-jobs/contributors","subscribers_url":"https://api.github.com/repos/aldryn/aldryn-jobs/subscribers","subscription_url":"https://api.github.com/repos/aldryn/aldryn-jobs/subscription","commits_url":"https://api.github.com/repos/aldryn/aldryn-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aldryn/aldryn-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aldryn/aldryn-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aldryn/aldryn-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/aldryn/aldryn-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aldryn/aldryn-jobs/merges","archive_url":"https://api.github.com/repos/aldryn/aldryn-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aldryn/aldryn-jobs/downloads","issues_url":"https://api.github.com/repos/aldryn/aldryn-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/aldryn/aldryn-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/aldryn/aldryn-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aldryn/aldryn-jobs/labels{/name}","releases_url":"https://api.github.com/repos/aldryn/aldryn-jobs/releases{/id}","created_at":"2013-06-17T09:43:28Z","updated_at":"2015-07-10T07:47:21Z","pushed_at":"2015-07-28T16:43:47Z","git_url":"git://github.com/aldryn/aldryn-jobs.git","ssh_url":"git@github.com:aldryn/aldryn-jobs.git","clone_url":"https://github.com/aldryn/aldryn-jobs.git","svn_url":"https://github.com/aldryn/aldryn-jobs","homepage":"http://www.aldryn.com/en/marketplace/aldryn-jobs","size":2668,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136"},"html":{"href":"https://github.com/aldryn/aldryn-jobs/pull/136"},"issue":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/136"},"comments":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/aldryn/aldryn-jobs/statuses/7c371f1931e5038060262579921c570491fcc868"}}}}