Skip to content

cypress resolves remoteHost "localhost:3000" to 127.0.0.1:3000  #112

@harz87

Description

@harz87

I have an rails app with puma 3.0.2, ruby 2.2.4p230 and Rails 4.2.5.2. And the server running
If I try to run this test within cypress.

context "dashboard", ->
  beforeEach ->
    cy.visit("http://localhost:3000/#/smaply/projects")

  it "is dashboard", ->
    expect(true).to.be.true

It still doesn't go to localhost:3000 as it resolves the url 127.0.0.1:3000 which doesn't work either in the browser. This might be related to this issue in rails

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions