-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status is never undefined #181
Conversation
I think you're right. I'm wondering if there are any cases where we are currently accidentally returning a Status object instead of its code in result.status. Did you run the tests with this branch? If so, this looks like a good check. If not, we should run them and if they fail investigate whether we are returning something other than a status code somewhere on accident. |
Is there just one test?
|
It passes the 3 unit tests.
It seems like that's a low amount of tests though. |
I found
The master branch of appium fails in the same way so I think it's unrelated to this pull request. The test never pass. It'd be nice if Sauce Labs setup a continuous integration server that automatically ran the tests on each pull request. |
if you pull, you should be able to run all the functional tests again, someone checked in an |
I pulled and I'm getting the same error.
|
it could be that you need to update npm packages (i can't see why appium is crashing). to be sure, can you |
One test fails when running
|
also you probably already know this but when running 'grunt functional' you can't be running any other appium processes. |
these tests appear to be working for me. |
I ran these commands. I'll try again.
I found that out when it failed the first time. |
If it works for you then that's good enough to merge I think. |
I ran the tests again and this is what it times out on.
|
that timeout is some kind of flakey behavior; when I run the tests by hand, they all pass (except some that i'm just fixing in another thread). i'll go ahead and merge this and we'll revisit if there are any issues. |
Thanks. |
by the way, if you're running |
Node install is now throwing an error. I'll spend some more time tomorrow and see if I can figure it out. Thanks for the tip about
|
that should be |
You're right. I mixed up
|
That error means the app can't be found or loaded in the sim.
|
I'm using Xcode 4.6. I installed the iOS 6.0 SDK in addition to 6.1. I ran |
What happens if you try this:
Or this:
These commands try to pre-launch the server with an app. Do you get the same error with both? On Feb 13, 2013, at 8:00 PM, bootstraponline notifications@github.com wrote:
|
|
Ok, what does the appium server output say? For instance, at the beginning mine says:
Check that the path it's using for the app actually exists and is absolute? On Feb 14, 2013, at 8:16 AM, bootstraponline notifications@github.com wrote:
|
The app builds however it doesn't exist. The path is absolute. $ grunt buildApp:UICatalog
Running "buildApp:UICatalog" (buildApp) task
Building app...
Failed building app
Done, without errors > File.exists? '/Users/appium/Desktop/appium/appium/sample-code/apps/UICatalog/build/Release-iphonesimulator/UICatalog.app'
=> false |
It doesn't look like it builds! Wonder why it didn't throw an error though. Try running this
Does that work? (Maybe you just didn't have the uicatalog app source--we don't keep it in our repo for licensing reasons) On Feb 14, 2013, at 9:22 AM, bootstraponline notifications@github.com wrote:
|
|
fixed in #188 |
Add test for picker wheel interaction
Add test for picker wheel interaction
I don't think status should ever be an object.