Home > virtualbox > How to run tests in elixir/phoenix in VM using hound and selenium

How to run tests in elixir/phoenix in VM using hound and selenium

October 12Hits:1

I am trying to run the Selenium Server in my Local Machine, and the elixir/phoenix app in the VirtualBox Virtual Machine.. My local machine has Ubuntu 14.04. I am using docker-machine to ssh into the VM. How to run the test cases being in VM ??

I used these " http://stackoverflow.com/questions/35448718/how-to-run-tests-in-elixir-phoenix-using-hound-and-selenium " code to run both the selenium server and elixir/phoenix app in local machine. And it worked fine..

Now i want selenium server to be in local machine itself, and elixir/phoenix app to rest in virtualbox VM. The tests should be run from VM..

Can someone help me out ??

Related Articles

  • How to run tests in elixir/phoenix in VM using hound and seleniumOctober 12

    I am trying to run the Selenium Server in my Local Machine, and the elixir/phoenix app in the VirtualBox Virtual Machine.. My local machine has Ubuntu 14.04. I am using docker-machine to ssh into the VM. How to run the test cases being in VM ?? I use

  • How to run tests in elixir/phoenix using hound and seleniumFebruary 17

    Here is my mix.exs defmodule HelloPhoenix.Mixfile do use Mix.Project def project do [app: :hello_phoenix, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, b

  • Elixir phoenix error when starting server January 22

    Trying out phoenix and Elixir for the first time. Stuck at the very end while running the project. mix phoenix.server Anyone had the same problem? Here is error trace. (postgrex was added as a dependency) ** (Mix) Could not start application blog: Bl

  • Windows: Elixir phoenix MIX_ENV=prod : The term is not recognizedFebruary 17

    Just started to learn elixir and phoenix framework. for the most part it going well. However when I want to run ecto.create on my production configs, I get an error in my cmd & powershell that MIX_ENV=prod : The term is not recognized. Just in genera

  • How to add a Plug in Elixir / Phoenix before the Router?February 5

    Is there any way to insert a Plug to run prior to the router selecting the controller/action? I've got an app that will redirect to the root path for specific subdomains, regardless of the current path on those domains. So: sub.myapp.com/foo/bar shou

  • Cloudinary Elixir Phoenix integrationFebruary 13

    Has anyone of you discovered/written a way to use cloudinary with Elixir? All of their integrations i saw were based on Cloudinary's plugin. But i haven't saw a plugin for neither elixir or erlang. Is there a way to easily fabricate their method of s

  • Phoenix for Railsies

    Phoenix for RailsiesAugust 6

    My last post covered WebSockets within the Ruby ecosystem with a particular focus on the support for WebSockets within Rails. As I was learning about the complex relationship between WebSockets and Ruby, I found a web framework that makes WebSockets

  • Traceback when building an exrm release of a Phoenix appJanuary 26

    After SCP-ing my Phoenix app dir from my Macbook to my Fedora VM, I try to build a production exrm release but an exception is raised: ==> Building release with MIX_ENV=prod. ==> Generating relx configuration... ==> Generating sys.config... ==>

  • phoenix framework deployment issue

    phoenix framework deployment issueJanuary 30

    I am trying to deploy a Phoenix app using exrm and conform. Testing the release on local Ubuntu works. But when i run the same on server there is failure. I am not able to understand the exact cause. {error_logger,{{2016,1,30},{7,45,44}},"Protocol: ~

  • Phoenix 1.1.4 issue with BrunchFebruary 5

    Trying to start new Elixir/Phoenix project. Can't get past that error: mix phoenix.server [info] Running Test.Endpoint with Cowboy using http on port 4000 05 Feb 16:32:57 - error: Initialization error - You probably need to execute `npm install` to i

  • Is there any way to send a string from Elixir to PHP securely?(no SSL)January 18

    I want to send a string from Elixir/Phoenix(Sever) to PHP(client) securely through URL query string(like: ?secure_string=xxxxx). The environments have no SSL, but they can share a private key in advance. So I thought I can convey the string securely

  • phoenix channels and there relation to socketsJanuary 25

    I need some advice about elixir/phoenix channels. I have an application that is related to venue changes and in order to reduce the amount of data sent to each client I only want each client to subscribe to the venues it cares about. With this in min

  • Elixir Koans - Enum.take with Negative Numbers Prints AsciiJanuary 26

    I was running through some Elixir Koans and came across the following: think "taking some items the other way" do numbers = 1..10 assert Enum.take(numbers, -2) == __? end After spending a lot of time on this I finally looked at it in iex and I g

  • Is it possible to use a Phoenix.HTML select form helper and populate from the ecto data?February 15

    So I know the Form Helper for lets say text_input you pass the atom of the field from the schema and then in the new form it will provide an input box and in the edit form the input box will be populated. However, can you do the same thing with the s

  • Not able to run firefox in a head-less Ubuntu server 9.10May 11

    I need to run Firefox in my server in order to execute some Selenium tests from Hudson. I would love no to have to install a complete gui. So I installed Xvfb in order to fake the Gui (I understand it this way correct me if my assumptions are wrong).

  • How can I run Firefox on Linux headlessly (i.e. without requiring libgtk-x11-2.0.so.0)?March 11

    I've got Dreamhost shared hosting, and I'm trying to run Firefox 3.0 on it headlessly for use with Selenium. When I try to run it (~/local/bin/firefox/firefox), I get the following error message: error while loading shared libraries: libgtk-x11-2.0.s

  • How do I run Firefox 4 and Firefox 3 at the same time on the same PC? March 29

    Possible Duplicate: Is it possible to run FF3.x and FF4RC side by side? Selenium is not compatible with FF4 and Firebug has some issues. I want to go back to FF3.6 but was wondering it is possible to run both 3.6 and 4 at the same time. -------------

  • (EE) config/hal: NewInputDeviceRequest failed (2) while trying to run Xvfb on centosSeptember 30

    I'm trying to set up a Selenium tests on a CI server (Jenkins). It runs on Centos 5 and has no monitor. For Selenium tests I need a way to run Firefox so I've had Xvfb installed. I'm using selenium-maven-plugin to start the Xvfb. <profile> <id>

  • runit does not kill process on sv stop or sv reloadJuly 14

    i am running a headless selenium process along a jenkins server on an AMI linux box, all managed by runit. the problem is that issuing "sv stop selenium" or "sv reload selenium" do not term or kill the old instance along its child proc

  • Running Protractor tests on Browserstack AutomateAugust 27

    I'm developing an AngularJS app and want to do end-2-end testing with Protractor. I would like to benefit from the suite of test browsers available at Browserstack and run the tests on Browserstack Automate instead of a local Selenium server. How do

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.830 s.