TestingWithFrank/Frank

Alert views not being found

drekka opened this issue · 1 comments

I have a step: Then I should see an alert view titled "Warning"

On moredip/Frank I found:

Then /^I should see an alert view titled "([^\"]*)"$/ do |expected_mark|
  if frankly_os_version.to_f >= 7.0
    values = frankly_map( "view:'_UIModalItemRepresentationView' label", 'text')
  else
    values = frankly_map( 'alertView', 'title')
  end
  values.should include(expected_mark)
end

Which works fine (iOS7), but on TEstingWithFrank/Frank I found:

Then /^I should see an alert view titled "([^\"]*)"$/ do |expected_mark|
  values = frankly_map( 'alertView', 'title')
 values.should include(expected_mark)
end

Which fails. It looks like there are changes being done on modern/Frank which have not made it to TestingWithFrank/Frank.

Can we get this cleaned up or is there something else at play?

I have similar issue. When I try and search for "view:'_UIModalItemRepresentationView' " using Symbiote it returns "Sorry, no views matched that selector so none were highlighted". I suspect the Shelley module hasn't been updated as well?