How to resolve "Ambiguous match error from cucumber", I'm trying to use same step definition for android & ios

700 views
Skip to first unread message

Satyanandam G

unread,
Sep 23, 2013, 6:15:52 PM9/23/13
to calaba...@googlegroups.com
Hi Team,

I'm trying to build a cross platform test automation suite, which should work for android & ios. So I have used the below step, which is existing in calabash-android & calabash-cucumber as well, to assert some text

Then I see the text "text to assert"

However, what i have observed is that at run this is throwing cucumber ambiguous error saying 

Ambiguous match of "text to assert"
      calabash-android........................../steps/assert_steps.rb......

      calabash-cucumber......................../step_definitions/calabash_steps.rb....

***** how does this work, without any ambiguity error ? 

Regards,
Satya.

Susan van de Ven

unread,
Sep 24, 2013, 2:40:34 AM9/24/13
to calaba...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages