Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

WebkitInvalidResponseError #371

Closed
Govinda-Fichtner opened this Issue · 1 comment

2 participants

@Govinda-Fichtner

Hello,

I am getting a "Unable to load URL: http://127.0.0.1:50923/ (Capybara::Driver::Webkit::WebkitInvalidResponseError)" error with
capybara-webkit 0.12.1
capybara 1.1.2
qt 4.7.4

Any ideas how I can fix this?

Govinda-Fichtners-MacBook-Pro ~/workspace/imageserver> cucumber features/users/choose_client.feature -n "Benutzer ändert Betreiber"
Using the default profile...
pid-file for killed process 5724 found (/Users/govindafichtner/workspace/imageserver/tmp/pids/delayed_job.pid), deleting.
delayed_job: process with pid 7498 started.
# language: de
Funktionalität: Betreiber auswählen
  Aus Datenschutz- und Datensicherheitsgründen muss ich einen Standard-Betreiber auswählen,
  so dass alle Aktionen im Imageserver nur im Kontext dieses Betreibers stattfinden.

  Grundlage:                                    # features/users/choose_client.feature:6
 >> Visit
 >> 1
 >> 38
 >> http://127.0.0.1:50923/session/sign_in
 << ok
 << 0
 >> Find
 >> 1
 >> 489
 >> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'Email' or ./@name = 'Email') or ./@id = //label[normalize-space(string(.)) = 'Email']/@for)] | .//label[normalize-space(string(.)) = 'Email']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
 << ok
 << 1
 << 1
 >> Node
 >> 2
 >> 10
 >> isAttached
 >> 1
 >> 1
 << ok
 << 4
 << true
 >> Node
 >> 2
 >> 7
 >> visible
 >> 1
 >> 1
 << ok
 << 4
 << true
 >> Node
 >> 2
 >> 10
 >> isAttached
 >> 1
 >> 1
 << ok
 << 4
 << true
 >> Node
 >> 3
 >> 3
 >> set
 >> 1
 >> 1
 >> 20
 >> example1@example.com
 << ok
 << 0
 >> Find
 >> 1
 >> 501
 >> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'Password' or ./@name = 'Password') or ./@id = //label[normalize-space(string(.)) = 'Password']/@for)] | .//label[normalize-space(string(.)) = 'Password']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
 << ok
 << 1
 << 2
 >> Node
 >> 2
 >> 10
 >> isAttached
 >> 1
 >> 2
 << ok
 << 4
 << true
 >> Node
 >> 2
 >> 7
 >> visible
 >> 1
 >> 2
 << ok
 << 4
 << true
 >> Node
 >> 2
 >> 10
 >> isAttached
 >> 1
 >> 2
 << ok
 << 4
 << true
 >> Node
 >> 3
 >> 3
 >> set
 >> 1
 >> 2
 >> 6
 >> please
 << ok
 << 0
 >> Find
 >> 1
 >> 378
 >> .//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'Anmelden' or ./@value = 'Anmelden') or ./@title = 'Anmelden')] | .//input[./@type = 'image'][./@alt = 'Anmelden'] | .//button[(((./@id = 'Anmelden' or ./@value = 'Anmelden') or normalize-space(string(.)) = 'Anmelden') or ./@title = 'Anmelden')] | .//input[./@type = 'image'][./@alt = 'Anmelden']
 << ok
 << 1
 << 3
 >> Node
 >> 2
 >> 10
 >> isAttached
 >> 1
 >> 3
 << ok
 << 4
 << true
 >> Node
 >> 2
 >> 7
 >> visible
 >> 1
 >> 3
 << ok
 << 4
 << true
 >> Node
 >> 2
 >> 10
 >> isAttached
 >> 1
 >> 3
 << ok
 << 4
 << true
 >> Node
 >> 2
 >> 5
 >> click
 >> 1
 >> 3
 << ok
 << 0
    Angenommen ich bin eingeloggt               # features/step_definitions/user_steps.rb:60
    Und es existieren die folgenden Betreiber:  # features/step_definitions/user_steps.rb:74
      | Vaillant     |
      | Ergo         |
      | AC Autocheck |
 >> Visit
 >> 1
 >> 38
 >> http://127.0.0.1:50923/dashboard/index
 << failure
 << 43
 << Unable to load URL: http://127.0.0.1:50923/
    Und der Betreiber "Ergo" ist mir zugeordnet # features/step_definitions/user_steps.rb:88
      Unable to load URL: http://127.0.0.1:50923/ (Capybara::Driver::Webkit::WebkitInvalidResponseError)
      ./features/step_definitions/user_steps.rb:91:in `/^der Betreiber "([^"]*)" ist mir zugeordnet$/'
      features/users/choose_client.feature:12:in `Und der Betreiber "Ergo" ist mir zugeordnet'
 >> Reset
 >> 0
 << ok
 << 0

  @javascript
  Szenario: Benutzer ändert Betreiber                                     # features/users/choose_client.feature:15
    Und ich sehe das Menu zur Betreiberschnellauswahl                     # features/step_definitions/user_steps.rb:79
    Und der Betreiber in der Betreiberschnellauswahl ist "Ergo"           # features/step_definitions/user_steps.rb:84
    Wenn ich in der Betreiberschnellauswahl den Punkt "Vaillant" auswähle # features/step_definitions/user_steps.rb:118
    Dann wird die erfolgreiche Aktualisierung des Betreibers bestätigt    # features/step_definitions/user_steps.rb:145
    Und mein Betreiber ist "Vaillant"                                     # features/step_definitions/user_steps.rb:149

Failing Scenarios:
cucumber features/users/choose_client.feature:15 # Scenario: Benutzer ändert Betreiber

1 scenario (1 failed)
8 steps (1 failed, 5 skipped, 2 passed)
0m2.023s
@Govinda-Fichtner

After stumbling over issue #331 and removing thin from my bundle everything seems to be OK again.

@mhoran mhoran closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.