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
{{ message }}
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
I realize these instructions are woefully incomplete, but I hope this is enough to get discussion started, and (with any luck) identify contributors who would find this work interesting.
The text was updated successfully, but these errors were encountered:
During the Meteor 1.6.1 beta period, we introduced logic to render a
<script> tag to load the SockJS library in older browsers (#9353), and so
it seemed important to run test-packages both with and without the
<script> tag, using a special query parameter appended to the app URL.
The #9353 changes were ultimately reverted before Meteor 1.6.1 was
released (see 3658042), and Meteor 1.6.2
will take a very different approach to bundling dependencies like SockJS
for legacy browsers (#9439). As part of this approach, PhantomJS is always
considered a legacy browser, and as such provides valuable feedback on the
behavior of web.browser.legacy bundles. However, since there's nothing to
configure with regard to SockJS anymore, there's no point in running the
test-packages suite twice in PhantomJS.
In order to run these tests in a modern browser environment, we should
probably revisit the idea of running tests in headless Chrome:
meteor/meteor-feature-requests#254
BTW, I am not sure why it would necessary to be used headless. I am using selenium + xvfb + chromium and it already works well. This is how one runs it. Runner I use. I have not yet tried recent headless support. What I am trying to say is that this should be very easy.
Hey @mitar, have you got any further experience with this? I've been playing around with it trying Puppeteer, Chrome Launcher + Chrome Remote Interface and Selenium but test seem to fail because Meteor.isClient remains false.
Migrated from meteor/meteor#8659.
PhantomJS has been showing its age for several years now, and the new --headless support in Chrome 59 seems like a much better fit for running our client-side integration tests: https://developers.google.com/web/updates/2017/04/headless-chrome
Here's an example of a similar issue/discussion on another project (GitLab): https://gitlab.com/gitlab-org/gitlab-ce/issues/30876
Relevant starting points:
I realize these instructions are woefully incomplete, but I hope this is enough to get discussion started, and (with any luck) identify contributors who would find this work interesting.
The text was updated successfully, but these errors were encountered: