-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cross origin frame error (CORS?) #147
Comments
when i run the testing from CLI i get varying results - sometimes runs and sometimes doesn't.
|
Hmm possibly a race condition reporting to the parent process? Could you include a list of packages that your app uses? Or even more awesome would be a reproduction repo. |
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. the start of the tests does have some code to load up data, which can take a while MochaWeb?.testOnly ->
describe "Lessons", ->
before (done)->
@timeout(20000)
Meteor.call 'reloadAll', ->
done()
describe "start here", ->
it "is accessible in the list of lessons", (done)->
# setTimeout ->
# $('a[href="/lessons"]').click()
# setTimeout ->
# console.log($('.imageBox'))
# chai.assert.equal($('.imageBox > .title.item-text-wrap:contains("Start here")').length, 1)
# done()
# , 100
# , 100
chai.assert.lengthOf($('a[href="/lessons"]'), 1, "there is Lessons link")
$('a[href="/lessons"]').click()
setTimeout ->
chai.assert.lengthOf($('.imageBox > .title.item-text-wrap:contains("Start here")'), 1, "there is 'Start here' button")
done()
, 100 |
I'm getting this with meteor 1.1
however the "Mocha iframe" will display just fine...
any ideas?
The text was updated successfully, but these errors were encountered: