Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
[Standup][SF] – Remote CI

Interestings

  • Watching your browser specs locally from CI

Assuming you’re using the headless gem in CI and have browser specs (Jasmine, Selenium) and want to watch them locally, ssh -X is your best friend. It will have Firefox draw its pixels on your Mac screen. Slow, but powerful.

To make that work you need a few steps:

1) Be sure to launch X11, go to Preferences (⌘+,) > Security > Check the “Allow connections from network clients” checkbox
2) Restart X11
3) Be sure that X11Forwarding is set to “yes” in the server (after changing it, restart SSHD, killing sshd works)

To see if it is working, check the $DISPLAY env variable after connected, it should be set.

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *