{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/528","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/528/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/528/events","html_url":"https://github.com/webdriverio/webdriverio/issues/528","id":75218558,"number":528,"title":"webdriverio.with.jasmine.spec.js; describe is not defined","user":{"login":"SerkanSipahi","id":1880749,"avatar_url":"https://avatars.githubusercontent.com/u/1880749?v=3","gravatar_id":"","url":"https://api.github.com/users/SerkanSipahi","html_url":"https://github.com/SerkanSipahi","followers_url":"https://api.github.com/users/SerkanSipahi/followers","following_url":"https://api.github.com/users/SerkanSipahi/following{/other_user}","gists_url":"https://api.github.com/users/SerkanSipahi/gists{/gist_id}","starred_url":"https://api.github.com/users/SerkanSipahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerkanSipahi/subscriptions","organizations_url":"https://api.github.com/users/SerkanSipahi/orgs","repos_url":"https://api.github.com/users/SerkanSipahi/repos","events_url":"https://api.github.com/users/SerkanSipahi/events{/privacy}","received_events_url":"https://api.github.com/users/SerkanSipahi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Docs","name":"Docs","color":"ea5906"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-11T13:17:30Z","updated_at":"2015-05-11T16:28:46Z","closed_at":null,"body":"1.) Did you tested your jasmine example? How can i get jasmine methods( describe, it, except, etc.. ) globally? I get always an error \"describe is not defined\".\r\n\r\n2.) What is the right to use this example? `node test.js` or `jasmine-node test.js` or with karma-runner?\r\n\r\n```js\r\nwebdriverio = require('webdriverio');\r\njasmine = require('jasmine');\r\n\r\ndescribe('my webdriverio tests', function() {\r\n\r\n    var client = {};\r\n    jasmine.DEFAULT_TIMEOUT_INTERVAL = 9999999;\r\n\r\n    beforeEach(function() {\r\n        client = webdriverio.remote({ desiredCapabilities: {browserName: 'phantomjs'} });\r\n        client.init();\r\n    });\r\n\r\n    it('test it', function(done) {\r\n        client\r\n            .url('https://github.com/')\r\n            .getElementSize('.header-logo-wordmark', function(err, result) {\r\n                expect(err).toBeFalsy();\r\n                expect(result.height).toBe(26);\r\n                expect(result.width).toBe(37);\r\n            })\r\n            .getTitle(function(err, title) {\r\n                expect(err).toBeFalsy();\r\n                expect(title).toBe('GitHub · Build software better, together.');\r\n            })\r\n            .getCssProperty('a[href=\"/plans\"]', 'color', function(err, color){\r\n                expect(err).toBeFalsy();\r\n                expect(color).toBe('rgba(65,131,196,1)');\r\n            })\r\n            .call(done);\r\n    });\r\n\r\n    afterEach(function(done) {\r\n        client.end(done);\r\n    });\r\n});\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/100971806","html_url":"https://github.com/webdriverio/webdriverio/issues/528#issuecomment-100971806","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/528","id":100971806,"user":{"login":"SerkanSipahi","id":1880749,"avatar_url":"https://avatars.githubusercontent.com/u/1880749?v=3","gravatar_id":"","url":"https://api.github.com/users/SerkanSipahi","html_url":"https://github.com/SerkanSipahi","followers_url":"https://api.github.com/users/SerkanSipahi/followers","following_url":"https://api.github.com/users/SerkanSipahi/following{/other_user}","gists_url":"https://api.github.com/users/SerkanSipahi/gists{/gist_id}","starred_url":"https://api.github.com/users/SerkanSipahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerkanSipahi/subscriptions","organizations_url":"https://api.github.com/users/SerkanSipahi/orgs","repos_url":"https://api.github.com/users/SerkanSipahi/repos","events_url":"https://api.github.com/users/SerkanSipahi/events{/privacy}","received_events_url":"https://api.github.com/users/SerkanSipahi/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T16:28:46Z","updated_at":"2015-05-11T16:28:46Z","body":"@christian-bromann thanks for doc improvement :) My question, do you any idea how to get globally describe, beforeEach, etc? "}}