ios-feature-testing icon indicating copy to clipboard operation
ios-feature-testing copied to clipboard

add appium

Open Jonahss opened this issue 10 years ago • 15 comments

Jonahss avatar Jul 01 '15 22:07 Jonahss

This is awesome, thanks so much for this!

Can you please make a few minor changes:

  1. Fix the 10. footnote to match the rest of the footnote style
  2. Fill in "Remote controllers" and "Focus tests"
    1. Remote controller - controller's not handled by the app (eg. ABPeoplePickerNavigationController and MFMailComposeViewController
    2. Focus tests - is it possible to only run one test or one file at a time?
  3. Why is Cocoapods support n/a? Can you install the framework via Cocoapods?
    1. Please comment on (or link to) the few limitations

joemasilotti avatar Jul 02 '15 11:07 joemasilotti

Great :) Will update this PR.

About focus tests, you can set your test runner to run a whole suite of tests, even on different apps, and the whole thing will run tests one by one on the appium server. So that's a yes?

Oh, uh, the framework is not installable by cocoapods, you install it via npm.

Jonahss avatar Jul 02 '15 18:07 Jonahss

I think you can put a “no” for each of these, then.

On Thu, Jul 2, 2015 at 2:18 PM, Jonah [email protected] wrote:

Great :) Will update this PR. About focus tests, you can set your test runner to run a whole suite of tests, even on different apps, and the whole thing will run tests one by one on the appium server. So that's a yes?

Oh, uh, the framework is not installable by cocoapods, you install it via npm.

Reply to this email directly or view it on GitHub: https://github.com/joemasilotti/ios-feature-testing/pull/4#issuecomment-118114806

joemasilotti avatar Jul 02 '15 18:07 joemasilotti

Does DatePicker count at a "remote controller"? I know those work.

Jonahss avatar Jul 02 '15 18:07 Jonahss

A UIDatePicker is contained in the application, not run remotely, so it does not count.

On Thu, Jul 2, 2015 at 2:31 PM, Jonah [email protected] wrote:

Does DatePicker count at a "remote controller"? I know those work.

Reply to this email directly or view it on GitHub: https://github.com/joemasilotti/ios-feature-testing/pull/4#issuecomment-118117811

joemasilotti avatar Jul 02 '15 18:07 joemasilotti

Ug, hm. Do you have an example app I could run against to test this? I'm guessing that we can automate it, but only with touch actions over the element coordinates rather than the .click() and .tap() commands.

But I can see if I can set up a test. Need an open source app that includes them.

Jonahss avatar Jul 02 '15 18:07 Jonahss

Unless you have one on hand, I'm just going to do this tutorial >.< https://developer.apple.com/library/prerelease/ios/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/Chapters/QuickStart.html

Jonahss avatar Jul 02 '15 18:07 Jonahss

wow that tutorial was really out of date :( How do app devs do it?? This stuff is hard. https://github.com/Jonahss/PeoplePickerApp

Totally automates the people picker =D

Jonahss avatar Jul 02 '15 21:07 Jonahss

Ok, PR updated :)

Jonahss avatar Jul 02 '15 21:07 Jonahss

Awesome, thanks again.

Is it possible to run the Appium tests in the code that you posted? I would love to see something work with the people picker, it's usually quite a hassle.

joemasilotti avatar Jul 02 '15 22:07 joemasilotti

Oh, I was just running tests using appiumRepl Sure, I can update that repo with a quick test script. Will do that tomorrow.

can this PR be merged?

Jonahss avatar Jul 07 '15 01:07 Jonahss

Sounds good. I will merge it as soon as we are decided on the remote controller tests.

joemasilotti avatar Jul 07 '15 01:07 joemasilotti

@joemasilotti hmm? It works on the remote controllers. The PR is updated to have a green heart for that.

Jonahss avatar Jul 08 '15 20:07 Jonahss

I'm just waiting for the test script you mentioned in your comment with the appiumRepl :-)

joemasilotti avatar Jul 13 '15 10:07 joemasilotti

Ah ok. Will get that to you.

Jonahss avatar Jul 13 '15 18:07 Jonahss