Giter VIP home page Giter VIP logo

Comments (9)

rdegraci avatar rdegraci commented on June 18, 2024

What version of Ruby, Cucumber do you have installed?

from frank.

raid5 avatar raid5 commented on June 18, 2024

ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0] via RVM
cucumber 0.10.0

from frank.

dlongmuir avatar dlongmuir commented on June 18, 2024

Confirmed with a

diff --git a/example/EmployeeAdmin/features/main.feature b/example/EmployeeAdmin/features/main.feature
index 46b3f74..f13bad4 100644
--- a/example/EmployeeAdmin/features/main.feature
+++ b/example/EmployeeAdmin/features/main.feature
@@ -26,6 +26,7 @@ Scenario: default users should be present after app startup

 Scenario: attempting to a new user without supplying any input
     When I touch the Add User button
+    And I wait to see a navigation bar titled "User Profile"
     And I touch the "Save" nav bar button
     Then I should see an alert view saying "Invalid User"

the include needs to be an include? like:

Then /^I wait to see a navigation bar titled "([^\"]*)"$/ do |expected_mark|
  Timeout::timeout(30) do
    values = frankly_map( 'navigationItemView', 'accessibilityLabel' )
    until values.include?(expected_mark)
      values = frankly_map( 'navigationItemView', 'accessibilityLabel' )
      sleep 0.1
    end
  end
end

I see a few more bad include calls in the frankly_steps/core_frank_steps. I'll talk to Pete or fix and send a pull request tonight.

Derek.

from frank.

raid5 avatar raid5 commented on June 18, 2024

@dlongmuir ahhh, thanks!! I didn't even notice the missing '?' for the include method. I'll be watching for this fix, thanks!

from frank.

moredip avatar moredip commented on June 18, 2024

Derek/Adam, if you have time can you fix core_frank_steps.rb and send me a pull request?

from frank.

dlongmuir avatar dlongmuir commented on June 18, 2024

I'm almost done with one for the gemify branch

from frank.

moredip avatar moredip commented on June 18, 2024

Pulled in your fix, this should be resolved now.

from frank.

raid5 avatar raid5 commented on June 18, 2024

Excellent. Does that mean there is a new version of the gem and we just need to update?

from frank.

moredip avatar moredip commented on June 18, 2024

yes, gem version 0.5.4

from frank.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.