You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chatted with Alon yesterday about the browser tests on Travis, and the thinking here was that we should probably focus on using the test time that Travis gives on the default and other suites, and then keep the browser runs on the bots.
I like the iframe idea, that's worth trying. If it works it might be better anyhow for other reasons (no extra tabs left open, etc.). But it would take some work in the test runner.
If that doesn't work out, then looks like Firefox has
--profile <path> Start with profile at <path>.
And there are options that control popups. So we could create a firefox profile file once with the right options, and add that file in the repo (tests/firefox.profile perhaps), then on the bot, use that profile.
Activity
juj commentedon Oct 12, 2017
Chatted with Alon yesterday about the browser tests on Travis, and the thinking here was that we should probably focus on using the test time that Travis gives on the default and other suites, and then keep the browser runs on the bots.
saschanaz commentedon Oct 13, 2017
Travis time limit is for each job, not each build.
https://docs.travis-ci.com/user/customizing-the-build/#Build-Timeouts
So I think it won't really matter.
kripken commentedon Nov 24, 2017
I saw this helpful writeup on Twitter, of how to run full browser tests on Travis,
http://devosoft.org/javascript-testing-on-travis-ci-with-karma-and-mocha/
Maybe we could do what's described there?
saschanaz commentedon Nov 29, 2017
The post mentions PhantomJS which is expected to die since the launch of Headless Chrome. https://groups.google.com/forum/#!topic/phantomjs/9aI5d-LDuNE
And we have #5668, which is a Chrome side bug. Maybe we should skip some tests...
(Firefox is not usable here because it doesn't support disabling popup via CLI)
kripken commentedon Dec 5, 2017
There may be a browser pref for firefox that allows popups. And maybe there's a way to set prefs from the firefox CLI?
saschanaz commentedon Dec 5, 2017
I hope there is one but I can't find it here. https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
saschanaz commentedon Dec 5, 2017
We may do iframe way, which would be comfortable with popup blockers.
kripken commentedon Dec 5, 2017
I like the iframe idea, that's worth trying. If it works it might be better anyhow for other reasons (no extra tabs left open, etc.). But it would take some work in the test runner.
If that doesn't work out, then looks like Firefox has
And there are options that control popups. So we could create a firefox profile file once with the right options, and add that file in the repo (
tests/firefox.profileperhaps), then on the bot, use that profile.saschanaz commentedon Dec 5, 2017
https://github.com/saadtazi/firefox-profile-js/blob/master/lib/firefox_profile.js
This code shows how we can create a custom profile, so we may try same thing to disable the blocker.
saschanaz commentedon Dec 5, 2017
Managing a Firefox profile is more complicated in my understanding, not sure what the package does yet.