owncloud-archive / acceptance-testing

User stories and virtual machine configurations
9 stars 5 forks source link

incompatible encoding regexp match #34

Open PVince81 opened 10 years ago

PVince81 commented 10 years ago

Running the tests against OC 6 stable6, I get this:

Background:                            # features/share_files_with_user.feature:7
    Given I am logged in                 # features/step_definitions/basic_steps.rb:2
    And I am in the "files" app          # features/step_definitions/basic_steps.rb:18
    And I have uploaded the "demo" files # features/step_definitions/files_steps.rb:2
      incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string) (Encoding::CompatibilityError)
      ./features/step_definitions/files_steps.rb:5:in `block (2 levels) in <top (required)>'
      ./features/step_definitions/files_steps.rb:4:in `glob'
      ./features/step_definitions/files_steps.rb:4:in `/^I have uploaded the "([^"]*)" files?$/'
      features/share_files_with_user.feature:11:in `And I have uploaded the "demo" files'

Not sure if it is my environment or the tests that are broken.

ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] cucumber 1.3.10

PVince81 commented 10 years ago

This is when running the following:

cucumber HEADLESS=true BROWSER=webkit HOST=localhost/vincent features
karlitschek commented 10 years ago

:+1:

PVince81 commented 10 years ago

@karlitschek this is not a PR :smiley:

karlitschek commented 10 years ago

Lol. True. Confused this with your new acceptance test. :-)

Gomez commented 10 years ago

Works against the vagrant box, would you try:

vagrant up cucumber HOST=192.168.10.10 BROWSER='webkit' features

PVince81 commented 10 years ago

I haven't setup vagrant yet actually, just ran cucumber locally. I'll have a try later.