{"action":"created","issue":{"url":"https://api.github.com/repos/mad-eye/meteor-mocha-web/issues/147","labels_url":"https://api.github.com/repos/mad-eye/meteor-mocha-web/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/mad-eye/meteor-mocha-web/issues/147/comments","events_url":"https://api.github.com/repos/mad-eye/meteor-mocha-web/issues/147/events","html_url":"https://github.com/mad-eye/meteor-mocha-web/issues/147","id":65757958,"number":147,"title":"cross origin frame error (CORS?)","user":{"login":"dcsan","id":514002,"avatar_url":"https://avatars.githubusercontent.com/u/514002?v=3","gravatar_id":"","url":"https://api.github.com/users/dcsan","html_url":"https://github.com/dcsan","followers_url":"https://api.github.com/users/dcsan/followers","following_url":"https://api.github.com/users/dcsan/following{/other_user}","gists_url":"https://api.github.com/users/dcsan/gists{/gist_id}","starred_url":"https://api.github.com/users/dcsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcsan/subscriptions","organizations_url":"https://api.github.com/users/dcsan/orgs","repos_url":"https://api.github.com/users/dcsan/repos","events_url":"https://api.github.com/users/dcsan/events{/privacy}","received_events_url":"https://api.github.com/users/dcsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-01T19:14:39Z","updated_at":"2015-04-02T06:46:24Z","closed_at":null,"body":"I'm getting this with meteor 1.1\r\n\r\n![image](https://cloud.githubusercontent.com/assets/514002/6949317/87b16f08-d868-11e4-9a8b-49e8ca6bbe4c.png)\r\n\r\nhowever the \"Mocha iframe\" will display just fine...\r\n\r\nany ideas?"},"comment":{"url":"https://api.github.com/repos/mad-eye/meteor-mocha-web/issues/comments/88775408","html_url":"https://github.com/mad-eye/meteor-mocha-web/issues/147#issuecomment-88775408","issue_url":"https://api.github.com/repos/mad-eye/meteor-mocha-web/issues/147","id":88775408,"user":{"login":"dcsan","id":514002,"avatar_url":"https://avatars.githubusercontent.com/u/514002?v=3","gravatar_id":"","url":"https://api.github.com/users/dcsan","html_url":"https://github.com/dcsan","followers_url":"https://api.github.com/users/dcsan/followers","following_url":"https://api.github.com/users/dcsan/following{/other_user}","gists_url":"https://api.github.com/users/dcsan/gists{/gist_id}","starred_url":"https://api.github.com/users/dcsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcsan/subscriptions","organizations_url":"https://api.github.com/users/dcsan/orgs","repos_url":"https://api.github.com/users/dcsan/repos","events_url":"https://api.github.com/users/dcsan/events{/privacy}","received_events_url":"https://api.github.com/users/dcsan/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T06:46:24Z","updated_at":"2015-04-02T06:46:24Z","body":"it looks like the ordering is different on each of those test runs. I do have some debug in there to tell what's happening.\r\n\r\nthe start of the tests does have some code to load up data, which can take a while\r\nbut the format looks fine i think:\r\n\r\n\r\n```coffee\r\nMochaWeb?.testOnly ->\r\n  describe \"Lessons\", ->\r\n    before (done)->\r\n      @timeout(20000)\r\n      Meteor.call 'reloadAll', ->\r\n        done()\r\n\r\n    describe \"start here\", ->\r\n      it \"is accessible in the list of lessons\", (done)->\r\n\r\n        # setTimeout ->\r\n        #   $('a[href=\"/lessons\"]').click()\r\n        #   setTimeout ->\r\n        #     console.log($('.imageBox'))\r\n        #     chai.assert.equal($('.imageBox > .title.item-text-wrap:contains(\"Start here\")').length, 1)\r\n        #     done()\r\n        #   , 100\r\n        # , 100\r\n\r\n        chai.assert.lengthOf($('a[href=\"/lessons\"]'), 1, \"there is Lessons link\")\r\n        $('a[href=\"/lessons\"]').click()\r\n        setTimeout ->\r\n          chai.assert.lengthOf($('.imageBox > .title.item-text-wrap:contains(\"Start here\")'), 1, \"there is 'Start here' button\")\r\n          done()\r\n        , 100\r\n```\r\n\r\n"}}