Giter Site home page Giter Site logo

perl-client's People

Contributors

eriam avatar freddyvega avatar gempesaw avatar jlipps avatar

Stargazers

 avatar  avatar  avatar

Watchers

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

perl-client's Issues

Mobile scroll

Hello,

I need to be able to scroll within a mobile app. Tried using some combination of taping and move_to, and also sending "mobile: scrollTo" using execute_script. Both yield "not implemented". Are there any plans to implement this? Or is there another way to scroll in Android&iOS apps that I'm not aware of?

I would gladly contribute to the project, but I've just started using this and I'm not completely sure how to do some stuff, so my knowledge isn't up to the task of contributing just yet.

Thanks,
-Radu

test fails

One test is failing for me in t/Appium.t
Here's the offending code:

    throws_ok(sub { MockAppium->new(bad_key => $fake_caps) },
              qr/Missing required arguments/,
              'at least one of desired_capabilities or caps is required for instantiation');

The exception is:

Can't locate object method "_build_desired_capabilities" via package "Appium" at (eval 64)

Maybe a problem with Moo or MooX::Aliases? The tests with valid keys succeed so I force installed it but this test may need to be fixed.

This is on OS X 10.10.5, perl 5.18.2

Here's the longer version

Checking dependencies from MYMETA.json ...
Checking if you have Selenium::Remote::Driver 0.2202 ... Yes (0.26)
Checking if you have File::Basename 0 ... Yes (2.84)
Checking if you have FileHandle 0 ... Yes (2.02)
Checking if you have Moo 0 ... Yes (2.000002)
Checking if you have Test::Deep 0 ... Yes (0.117)
Checking if you have Selenium::Remote::Commands 0 ... Yes (0.26)
Checking if you have Selenium::Remote::ErrorHandler 0 ... Yes (0.26)
Checking if you have Selenium::Remote::RemoteConnection 0 ... Yes (0.26)
Checking if you have constant 0 ... Yes (1.27)
Checking if you have feature 0 ... Yes (1.32)
Checking if you have MooX::Aliases 0.001005 ... Yes (0.001006)
Checking if you have Test::LWP::UserAgent 0 ... Yes (0.030)
Checking if you have JSON 0 ... Yes (2.90)
Checking if you have warnings 0 ... Yes (1.18)
Checking if you have IO::Socket::INET 0 ... Yes (1.33)
Checking if you have Cwd 0 ... Yes (3.47)
Checking if you have Carp 0 ... Yes (1.3301)
Checking if you have Selenium::Remote::WebElement 0 ... Yes (0.26)
Checking if you have strict 0 ... Yes (1.07)
Checking if you have Test::More 0 ... Yes (1.001014)
Checking if you have IPC::Cmd 0 ... Yes (0.92)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Checking if you have Test::MockObject::Extends 0 ... Yes (1.20150527)
Checking if you have Capture::Tiny 0 ... Yes (0.30)
Checking if you have Test::Exception 0 ... Yes (0.35)
Building and testing Appium-0.0803 ... cp lib/Appium/TouchActions.pm blib/lib/Appium/TouchActions.pm
cp lib/Appium/Element.pm blib/lib/Appium/Element.pm
cp lib/Appium/Commands.pm blib/lib/Appium/Commands.pm
cp lib/Appium.pm blib/lib/Appium.pm
cp lib/Appium/SwitchTo.pm blib/lib/Appium/SwitchTo.pm
cp lib/Appium/ErrorHandler.pm blib/lib/Appium/ErrorHandler.pm
Manifying 6 pod documents
PERL_DL_NONLAZY=1 "/Users/aelgnfaldfj/perl5/perlbrew/perls/perl-5.18.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Appium.t ........ 1/?
#   Failed test 'at least one of desired_capabilities or caps is required for instantiation'
#   at t/Appium.t line 44.
# expecting: Regexp ((?^:Missing required arguments))
# found: Can't locate object method "_build_desired_capabilities" via package "Appium" at (eval 64) line 17.
# Looks like you failed 1 test of 56.
t/Appium.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/56 subtests
t/Commands.t ...... ok
t/Element.t ....... ok
t/Page.t .......... skipped: Release tests not required for installation.
t/TouchActions.t .. ok

fix type coercion for `By` strategies

Bad method, expected - class, class_name, css, id, link, link_text, partial_link_text, name, tag_name, xpath at (eval 98)[/System/Library/Perl/5.16/perl5db.pl:646] line 2.

Make sure we're not coercing the wrong By strategies - the list above is from an Appium test, but it's not appropriate for Appium.

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.