-
Notifications
You must be signed in to change notification settings - Fork 128
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
Try running tests in GitHub Actions #680
Conversation
PL undefined error from main branch! https://travis-ci.com/github/publiclab/PublicLab.Editor/jobs/399630193 |
It's been the case since #541, where we added |
Here is where it began to fail!!!! #597 |
I'll try pulling in each commit of https://github.com/jywarren/woofmark/commits/plots2 whoaaaaa. i think we need to go back to jywarren/woofmark@12e2c1d...39237b7 ... yikes... |
Reverting back to 12e2c1d or 3695d655c7d11fd3cee8e19f534ccc6722f1297f didn't work... :-((( |
Now trying to look through every line of this commit which is when tests started to show this error: jywarren/woofmark@5cc44d6 |
Couldn't find anything! But, i did see that |
Seems unlikely to be the problem - the change was really minimal: bevacqua/bureaucracy@master...jywarren:xhrOptions |
Even that's not quite right - we should be Chrome Headless and not Phantomjs now, right? gruntjs/grunt-contrib-jasmine#252 (comment) |
Ah, that only happens in |
And noting we gave up on that upgrade in #168 |
Haha! I'll rework that to use a server. |
Ooohhh!!!!
are these all ajax errors??? |
I tried setting
|
Noting synch ajax was disallowed in chrome 80, should check the chrome driver version and how to flag that one |
Could use StubRequest to switch jquery-ajax to synchronous: https://jasmine.github.io/2.0/ajax.html#section-12 |
Wow this is working! I think we should merge it. However, i do see this error sometimes: |
Gruntfile.js
Outdated
options: { | ||
allowFileAccess: true, | ||
sandboxArgs: { | ||
args: ['--no-sandbox','allow-sync-xhr-in-page-dismissal'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
args: ['--no-sandbox','allow-sync-xhr-in-page-dismissal'], | |
args: ['--no-sandbox', '--allow-sync-xhr-in-page-dismissal'], |
Yayyyyy!!! |
🎉🎉🎉🎉🎉 |
Fixes #676