Skip to content

Alert views not being found #34

Description

@drekka

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions