Created
January 27, 2014 16:34
-
-
Save sebv/8651953 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ appium git:(sebv-working) ✗ ./bin/test.sh --ios6 | |
| /usr/bin/xcode-select | |
| RUNNING IOS 6.1 TESTS | |
| --------------------- | |
| Found Xcode for iOS 6.1, switching to it | |
| gappium | |
| HelloGappium | |
| ✓ should open the app and navigate through the dialogs (5342ms) | |
| 1 passing (23s) | |
| 22.99 real 0.52 user 0.08 sys | |
| Switching back to default Xcode (/Applications/Xcode-6.1.app) | |
| ➜ appium git:(sebv-working) ✗ ./bin/test.sh --ios6 | |
| /usr/bin/xcode-select | |
| RUNNING IOS 6.1 TESTS | |
| --------------------- | |
| Found Xcode for iOS 6.1, switching to it | |
| appium - jsonwp - | |
| to a non-existent url | |
| ✓ should get 404 with text/plain body | |
| to get list of sessions | |
| ✓ should return empty list if no session active | |
| to a not-yet-implemented url | |
| ✓ should respond with 501 Not Implemented | |
| to a variable resource that doesnt exist | |
| ✓ should respond with a 404 | |
| that generates a server error | |
| ✓ should respond with a 500 | |
| that generates a server crash | |
| ✓ should respond with a 500 | |
| appium - prelaunch - | |
| ✓ should work for ios (38225ms) | |
| ✓ should work with force iphone (11402ms) | |
| ✓ should work with force ipad (30354ms) | |
| ✓ should work for safari (30348ms) | |
| ✓ should work for safari via --safari (14159ms) | |
| safari - screenshot - | |
| screenshots (ios6) | |
| ✓ should get a local screenshot (1185ms) | |
| ✓ should get an app screenshot (202ms) | |
| ✓ should get an app screenshot in landscape mode (4600ms) | |
| safari - webview - | |
| window title | |
| ✓ should return a valid title on web view (38ms) | |
| webview basics | |
| ✓ should find a web element in the web view | |
| ✓ should find multiple web elements in the web view | |
| ✓ should fail gracefully to find multiple missing web elements in the web view (5220ms) | |
| ✓ should find element from another element (53ms) | |
| ✓ should be able to click links (600ms) | |
| ✓ should retrieve an element attribute (141ms) | |
| ✓ should retrieve implicit attributes (50ms) | |
| ✓ should retrieve an element text (53ms) | |
| ✓ should check if two elements are equals (41ms) | |
| ✓ should return the page source | |
| ✓ should get current url | |
| ✓ should send keystrokes to specific element (152ms) | |
| ✓ should send keystrokes to active element (216ms) | |
| ✓ should clear element (205ms) | |
| ✓ should say whether an input is selected (193ms) | |
| ✓ should be able to retrieve css properties (53ms) | |
| ✓ should retrieve an element size (56ms) | |
| ✓ should get location of an element (57ms) | |
| ✓ should retrieve tag name of an element (127ms) | |
| ✓ should retrieve a window size | |
| ✓ should move to an arbitrary x-y element and click on it (151ms) | |
| ✓ should submit a form (711ms) | |
| ✓ should return true when the element is displayed (72ms) | |
| ✓ should return false when the element is not displayed (50ms) | |
| ✓ should return true when the element is enabled (45ms) | |
| ✓ should return false when the element is not enabled (60ms) | |
| ✓ should return the active element (152ms) | |
| ✓ should properly navigate to anchor (1521ms) | |
| ✓ should be able to refresh | |
| implicit wait | |
| ✓ should set the implicit wait for finding web elements (7236ms) | |
| execute | |
| ✓ should bubble up javascript errors | |
| ✓ should eval javascript | |
| ✓ should not be returning hardcoded results | |
| ✓ should return nothing when you don't explicitly return | |
| ✓ should execute code inside the web view (54ms) | |
| ✓ should convert selenium element arg to webview element (62ms) | |
| ✓ should catch stale or undefined element as arg | |
| ✓ should be able to return multiple elements from javascript | |
| executeAsync | |
| ✓ should bubble up javascript errors | |
| ✓ should execute async javascript | |
| ✓ should timeout when callback isn't invoked (2097ms) | |
| alerts | |
| ✓ should accept alert (6846ms) | |
| ✓ should dismiss alert (7821ms) | |
| ✓ should get text of alert (7965ms) | |
| ✓ should not get text of alert that closed (7957ms) | |
| ✓ should set text of prompt (8735ms) | |
| ✓ should fail to set text of alert (5341ms) | |
| frames | |
| ✓ should switch to frame by name (97ms) | |
| ✓ should switch to frame by index (92ms) | |
| ✓ should switch to frame by id (92ms) | |
| ✓ should switch back to default content from frame (137ms) | |
| ✓ should switch to child frames (89ms) | |
| ✓ should execute javascript in frame (51ms) | |
| ✓ should execute async javascript in frame (56ms) | |
| iframes | |
| ✓ should switch to iframe by name (95ms) | |
| ✓ should switch to iframe by index (91ms) | |
| ✓ should switch to iframe by id (114ms) | |
| ✓ should switch to iframe by element (110ms) | |
| ✓ should not switch to iframe by element of wrong type (83ms) | |
| ✓ should switch back to default content from iframe (135ms) | |
| cookies | |
| within iframe webview | |
| ✓ should be able to get cookies for a page with none (1545ms) | |
| within webview | |
| ✓ should be able to get cookies for a page | |
| ✓ should be able to set a cookie for a page (115ms) | |
| ✓ should be able to set a cookie with expiry (66ms) | |
| ✓ should be able to delete one cookie (90ms) | |
| ✓ should be able to delete all cookie (130ms) | |
| safari - windows-frame - | |
| windows and frames (ios6) | |
| ✓ getting current window should work initially | |
| within webview | |
| ✓ should throw nosuchwindow if there's not one | |
| ✓ should be able to open and close windows (6208ms) | |
| ✓ should be able to go back and forward (226ms) | |
| testapp - active - | |
| ✓ should return active element (189ms) | |
| testapp - basic - | |
| using calc app | |
| ✓ should fill two fields with numbers (2419ms) | |
| ✓ should fill two fields with numbers - sendKeys (2405ms) | |
| ✓ should fill two fields with numbers - setValue (1753ms) | |
| ✓ should confirm that button is displayed (349ms) | |
| ✓ should confirm that the disabled button is disabled (351ms) | |
| ✓ should confirm that the compute sum button is enabled (353ms) | |
| ✓ should return app source (244ms) | |
| ✓ should interact with alert (6353ms) | |
| ✓ should find alert like other elements (3481ms) | |
| ✓ should get tag names of elements (691ms) | |
| ✓ should be able to get text of a button (344ms) | |
| using calc app | |
| ✓ should lookup two fields by name and populate them with random numbers to finally sum them up (3072ms) | |
| ✓ should receive correct error | |
| ✓ should be able to get syslog log type | |
| ✓ should be able to get syslog logs (4305ms) | |
| ✓ should be able to get crashlog logs | |
| testapp - clear - | |
| ✓ should clear the text field (2702ms) | |
| ✓ should hide keyboard (3574ms) | |
| testapp - device - | |
| target actions | |
| ✓ should die in background and respond within (+/- 6 secs) (6827ms) | |
| testapp - find element - | |
| ✓ should find a single element on the app (184ms) | |
| ✓ should not find any invalid elements on the app and throw error (5446ms) | |
| ✓ should find alerts when they exist (3472ms) | |
| ✓ should not find alerts when they dont exist (5487ms) | |
| ✓ should get an error when strategy doesnt exist | |
| ✓ should find all elements by tag name in the app (198ms) | |
| ✓ should not find any elements on the app but fail gracefully (5460ms) | |
| ✓ should find element by valid name (177ms) | |
| ✓ should not find element by invalid name but return respective error code (5491ms) | |
| ✓ should find multiple elements by valid name (182ms) | |
| testapp - get attribute - | |
| ✓ should get element attribute (345ms) | |
| testapp - location - | |
| ✓ should return the right x/y coordinates (351ms) | |
| ✓ should not error with valid lat/lon and no options (163ms) | |
| ✓ should not error with valid lat/lon and valid options (158ms) | |
| ✓ should error with invalid lat/lon and no options (179ms) | |
| testapp - pinch gesture - | |
| pinchOpen and pinchClose gesture | |
| ✓ should pinchOpen and pinchClose map after tapping Test Gesture (16409ms) | |
| testapp - rotation gesture - | |
| ✓ should rotate map after tapping Test Gesture (11906ms) | |
| testapp - sessions - | |
| ✓ should return appear in the sessions returned | |
| testapp - simple - | |
| using calc app | |
| ✓ should fill two fields with numbers (2647ms) | |
| testapp - size - | |
| element size | |
| ✓ should return the right element size (343ms) | |
| ✓ should return the window size (163ms) | |
| testapp - source - | |
| ✓ should return the page source (201ms) | |
| testapp - timeouts - | |
| command timeout settings | |
| ✓ should be settable and gettable | |
| short timeout | |
| ✓ should die with short command timeout (5526ms) | |
| mobile reset | |
| ✓ should die with short command timeout even after mobile reset (29181ms) | |
| command timeout set to 0 | |
| ✓ when set to 0 should disable itself (3191ms) | |
| command timeout set to false | |
| ✓ when set to false should disable itself (3194ms) | |
| command timeout via desired caps | |
| ✓ should die with short command timeout (5510ms) | |
| command timeout disabled via desired caps (0) | |
| ✓ when set to 0 should disable itself (3223ms) | |
| command timeout disabled via desired caps (false) | |
| 1) when set to false should disable itself | |
| check implicit wait | |
| ✓ should set the implicit wait for finding elements (4053ms) | |
| ✓ should work even with a reset in the middle (36490ms) | |
| uicatalog - alerts - | |
| alert dialog detection | |
| ✓ should detect Show Simple (12128ms) | |
| alert dialog detection | |
| ✓ should detect Show OK-Cancel (2662ms) | |
| alert dialog detection | |
| ✓ should detect Show Custom (2620ms) | |
| uicatalog - basic - | |
| api | |
| ✓ should confirm element is not visible (994ms) | |
| ✓ should confirm element is visible (1562ms) | |
| ✓ should confirm element is selected @skip-ios7 (1499ms) | |
| ✓ should confirm element is not selected returns false (1564ms) | |
| load zipped app | |
| ✓ should load a zipped app via path (209ms) | |
| load zipped app via url | |
| ✓ should load a zipped app via url (206ms) | |
| appium ios | |
| ✓ should go back to using app from before (207ms) | |
| uicatalog - controls - | |
| ✓ should be able to get and set a picker value (2416ms) | |
| ✓ should be able to get and set a slider value (3297ms) | |
| uicatalog - device - | |
| lock device | |
| ✓ should lock the device for 4 of seconds (+/- 2 secs) (5483ms) | |
| background app | |
| ✓ should background the app for 4 of seconds (+/- 6 secs) (9337ms) | |
| uicatalog - execute - | |
| ✓ should do UIAutomation commands if not in web frame (167ms) | |
| ✓ should not fail if UIAutomation command blows up (158ms) | |
| ✓ should not fail with quotes (157ms) | |
| uicatalog - find and act - | |
| ✓ should tap immediately on an element by tag name (639ms) | |
| ✓ should tap immediately on an element by xpath (1451ms) | |
| ✓ should fail gracefully for not found elements (5669ms) | |
| ✓ should fail gracefully for bad strategies | |
| ✓ should work with actions that return values (210ms) | |
| ✓ should work with actions that take params (2206ms) | |
| ✓ should work with indexes (2546ms) | |
| uicatalog - find element - | |
| ✓ should find a single element by id (308ms) | |
| ✓ should find a single element by name (343ms) | |
| ✓ should find an element within its parent @skip-ios7 (535ms) | |
| ✓ should not find an element not within itself (5596ms) | |
| ✓ should find some elements within itself (360ms) | |
| ✓ should not find elements not within itself (224ms) | |
| findElementsByTagName | |
| ✓ should return all image elements with internally generated ids (329ms) | |
| findElement(s)ByXpath | |
| ✓ should return the last button (1094ms) | |
| ✓ should return a single element (1192ms) | |
| ✓ should return multiple elements (878ms) | |
| ✓ should filter by name (1023ms) | |
| ✓ should know how to restrict root-level elements (6045ms) | |
| ✓ should search an extended path by child (924ms) | |
| ✓ should search an extended path by descendant (1960ms) | |
| ✓ should filter by indices @skip-ios7 (892ms) | |
| ✓ should filter by partial text (878ms) | |
| uicatalog - gestures - | |
| flick @skip-ios7 | |
| ✓ should work via webdriver method (3767ms) | |
| ✓ should work via mobile only method (3739ms) | |
| ✓ should not complete instantaneously (3009ms) | |
| ✓ should work via mobile only method with percentage (3751ms) | |
| swipe gesture @skip-ios7 | |
| ✓ should work with wd function in pixels (2022ms) | |
| ✓ should work with wd function in percent (4457ms) | |
| ✓ should work with mobile function in pixels (4961ms) | |
| ✓ should work with mobile function in percent (5002ms) | |
| ✓ should not complete instantaneously (4237ms) | |
| flick element @skip-ios7 | |
| ✓ slider value should change (4201ms) | |
| ✓ should work with mobile flick (4034ms) | |
| ✓ should work with mobile flick and percent (4047ms) | |
| swipe element @skip-ios7 | |
| ✓ slider value should change (2557ms) | |
| ✓ slider value should change by pixels (2479ms) | |
| complex tap | |
| ✓ should work with custom options (2968ms) | |
| ✓ should work in relative units @skip-ios7 (2848ms) | |
| ✓ should work with default options @skip-ios7 (684ms) | |
| complex tap on element | |
| ✓ should work in relative units (1039ms) | |
| ✓ should work in pixels (981ms) | |
| scroll to element @skip-ios7 | |
| ✓ should bring the element into view (822ms) | |
| mobile shake | |
| ✓ should not error (156ms) | |
| uicatalog - move - | |
| moveTo and click | |
| ✓ should be able to click on arbitrary x-y elements (1013ms) | |
| uicatalog - reset - | |
| app reset | |
| ✓ should be able to find elements after a soft reset (17703ms) | |
| uicatalog - reset - | |
| window handles | |
| ✓ getting handles should do nothing when no webview open (591ms) | |
| webview - orientation - | |
| ✓ should get and set - LANDSCAPE (538ms) | |
| ✓ should get and set - PORTRAIT (592ms) | |
| webview - webview - | |
| window handles | |
| ✓ getting current window should do nothing when none set | |
| ✓ getting list should work after webview open (629ms) | |
| ✓ getting list twice should not crash appium | |
| ✓ window handles should be strings (38ms) | |
| ✓ setting window should work | |
| ✓ clearing window should work (284ms) | |
| ✓ clearing window should not work if not in webview | |
| gappium | |
| HelloGappium | |
| ✓ should open the app and navigate through the dialogs (5270ms) | |
| 210 passing (40m) | |
| 1 failing | |
| 1) testapp - timeouts - command timeout disabled via desired caps (false) when set to false should disable itself: | |
| Error: Error response status: 6. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 2401.76 real 15.52 user 3.18 sys | |
| Switching back to default Xcode (/Applications/Xcode-6.1.app) | |
| Password: | |
| ➜ appium git:(sebv-working) ✗ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment