Giter Site home page Giter Site logo

gametel's People

Contributors

cheezy avatar leviwilson avatar mlemley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gametel's Issues

Add menu accessor

It would be nice to have a menu accessor:

  menu(:edit, :id => :action_edit)
  menu(:search, :text => 'Search')

Additionally, having the ability to click android.R.id.home on gametel (Gametel#home).

Add GetText functionality

Have the ability to assert the text of a particular TextView by id.

Example

Then /^Something is there$/ do
  on(SomeScreen) do |screen|
    screen.some_text_field.should_be 'Some Text'
  end
end

enabled should throw when a view is not found

Description

When asking gametel if a view is enabled (based on id), if the id does not exist in the page at all, calabash throws an exception that the View does not exist, but gametel interprets this is "is not enabled".

Expected Behavior

gametel should rethrow the calabash exception that the View was not found rather than indicating that it isn't enabled.

Driver

  • calabash-android only

Example

Then /^Some control should be enabled$/ do
  on(SomePage) do |screen|
    #  This will always pass even if the id does not exist
    screen.should_not be_enabled 'some_id_that_does_not_exist'
  end
end

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.