Giter Site home page Giter Site logo

xing / calabash-launcher Goto Github PK

View Code? Open in Web Editor NEW
29.0 12.0 6.0 2.81 MB

iOS Calabash Launcher is a macOS app that helps you run and manage Calabash tests on your Mac.

License: MIT License

Swift 73.85% Shell 6.21% Ruby 19.94%
calabash-ios xcode calabash mobile-automation swift ios integration-tests tests

calabash-launcher's People

Contributors

basthomas avatar danielknott avatar dependabot[bot] avatar iltempo avatar jamuc avatar joesss avatar q231950 avatar richbarton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar

calabash-launcher's Issues

Stop IRB background process when the Tabs are not active

When you close the Element Inspector and switch to test runner, the element inspector still tries to perform some tasks in the background. We should restart/pause the process every time when the respective tab is not active.

Calabash folder path cannot be changed

The path cannot be changed after: 49c0439

Here is a stack trace:

2017-10-28 09:29:06.792045+0200 Calabash Launcher[810:3166363] [User Defaults] Attempt to set a non-property-list object file:///Users/newmac/calabash-launcher/Scripts/ruby/ as an NSUserDefaults/CFPreferences value for key FilePath
2017-10-28 09:29:06.794384+0200 Calabash Launcher[810:3166363] [General] An uncaught exception was raised
2017-10-28 09:29:06.794872+0200 Calabash Launcher[810:3166363] [General] Attempt to insert non-property list object file:///Users/newmac/calabash-launcher/Scripts/ruby/ for key FilePath
2017-10-28 09:29:06.822816+0200 Calabash Launcher[810:3166363] [General] (
	0   CoreFoundation                      0x00007fff3ee780fb __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff65764c76 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff3ef09bfd +[NSException raise:format:] + 205
	3   CoreFoundation                      0x00007fff3edb520a _CFPrefsValidateValueForKey + 266
	4   CoreFoundation                      0x00007fff3ee2b70d -[CFPrefsPlistSource sendMessageSettingValue:forKey:] + 573
	5   CoreFoundation                      0x00007fff3ef5c86b -[CFPrefsPlistSource alreadylocked_setValues:forKeys:count:from:] + 491
	6   CoreFoundation                      0x00007fff3eeea73b -[CFPrefsSource setValues:forKeys:count:removeValuesForKeys:count:from:] + 219
	7   CoreFoundation                      0x00007fff3eeeaa8a -[CFPrefsSource setValues:forKeys:count:from:] + 26
	8   CoreFoundation                      0x00007fff3ef2c7fe -[CFPrefsSearchListSource alreadylocked_setValues:forKeys:count:from:] + 622
	9   CoreFoundation                      0x00007fff3eeea73b -[CFPrefsSource setValues:forKeys:count:removeValuesForKeys:count:from:] + 219
	10  CoreFoundation                      0x00007fff3eeeaa8a -[CFPrefsSource setValues:forKeys:count:from:] + 26
	11  CoreFoundation                      0x00007fff3eeeaacf -[CFPrefsSource setValue:forKey:from:] + 63
	12  CoreFoundation                      0x00007fff3ef2e78f __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 287
	13  CoreFoundation                      0x00007fff3ef2e605 -[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 341
	14  CoreFoundation                      0x00007fff3ef53c50 -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 96
	15  CoreFoundation                      0x00007fff3edfec35 _CFPreferencesSetAppValueWithContainer + 117
	16  Foundation                          0x00007fff40eafc42 -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 55
	17  Calabash Launcher                   0x000000010002c7c2 _T0So12UserDefaultsC17Calabash_LauncherE3set33_2913269D7FC7CF948821B9A2DE2683FFLLyypSg_AC23ApplicationStateHandlerC4KeysAELLO6forKeytF + 434
	18  Calabash Launcher                   0x000000010002cbf7 _T017Calabash_Launcher23ApplicationStateHandlerC8filePath10Foundation3URLVSgfs + 183
	19  Calabash Launcher                   0x0000000100005eaf _T017Calabash_Launcher22SettingsViewControllerC16clickFileBrowseryypF + 367
	20  Calabash Launcher                   0x0000000100005f38 _T017Calabash_Launcher22SettingsViewControllerC16clickFileBrowseryypFTo + 72
	21  AppKit                              0x00007fff3cba59a6 -[NSApplication(NSResponder) sendAction:to:from:] + 312
	22  AppKit                              0x00007fff3c64c697 -[NSControl sendAction:to:] + 86
	23  AppKit                              0x00007fff3cd6cb63 -[NSPathCell _otherItemClick:] + 544
	24  AppKit                              0x00007fff3cba59a6 -[NSApplication(NSResponder) sendAction:to:from:] + 312
	25  AppKit                              0x00007fff3c63b35f -[NSMenuItem _corePerformAction] + 323
	26  AppKit                              0x00007fff3c63b0e7 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
	27  AppKit                              0x00007fff3c6c0cba -[NSMenu performActionForItemAtIndex:] + 133
	28  AppKit                              0x00007fff3c6c0c25 -[NSMenu _internalPerformActionForItemAtIndex:] + 94
	29  AppKit                              0x00007fff3c6c0a55 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 106
	30  AppKit                              0x00007fff3c5874c2 NSSLMMenuEventHandler + 882
	31  HIToolbox                           0x00007fff3e0ea284 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1541
	32  HIToolbox                           0x00007fff3e0e95cd _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 374
	33  HIToolbox                           0x00007fff3e0fe8d1 SendEventToEventTarget + 39
	34  HIToolbox                           0x00007fff3e147e09 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 411
	35  HIToolbox                           0x00007fff3e170d3e SendMenuCommandWithContextAndModifiers + 49
	36  HIToolbox                           0x00007fff3e170cfa SendMenuItemSelectedEvent + 188
	37  HIToolbox                           0x00007fff3e170bd4 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 96
	38  HIToolbox                           0x00007fff3e28921c _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjjPK4RecttjS4_S4_PK14__CFDictionaryPK10__CFStringPP13OpaqueMenuRefPt + 1662
	39  HIToolbox                           0x00007fff3e288697 _ZL26_HandlePopUpMenuSelection8P13OpaqueMenuRefP14OpaqueEventRefj5PointtjjPK4RecttS6_S6_PK14__CFDictionaryPK10__CFStringPS0_Pt + 409
	40  HIToolbox                           0x00007fff3e150e3c _HandlePopUpMenuSelectionWithDictionary + 268
	41  AppKit                              0x00007fff3c6b77ea _NSSLMPopUpCarbonMenu3 + 5632
	42  AppKit                              0x00007fff3c6b6144 -[NSCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] + 439
	43  AppKit                              0x00007fff3c726258 -[NSPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 570
	44  AppKit                              0x00007fff3cd6d637 -[NSPathCell trackMouse:inRect:ofView:untilMouseUp:] + 1251
	45  AppKit                              0x00007fff3c6497c4 -[NSControl mouseDown:] + 965
	46  AppKit                              0x00007fff3cd7098d -[NSPathControl mouseDown:] + 441
	47  AppKit                              0x00007fff3cd44ad5 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5891
	48  AppKit                              0x00007fff3cd4172c -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2359
	49  AppKit                              0x00007fff3cd409d8 -[NSWindow(NSEventRouting) sendEvent:] + 497
	50  AppKit                              0x00007fff3cba1863 -[NSApplication(NSEvent) sendEvent:] + 307
	51  AppKit                              0x00007fff3c403835 -[NSApplication run] + 812
	52  AppKit                              0x00007fff3c3d29a6 NSApplicationMain + 804
	53  Calabash Launcher                   0x0000000100050c0d main + 13
	54  libdyld.dylib                       0x00007fff66353145 start + 1
	55  ???                                 0x0000000000000003 0x0 + 3
)

Fix path chooser

Path to the folders doesn't work when clicking on the autosuggestions

Text in the Element Inspector need an update

The default text shown in the Element Inspector need a rework.

For example the get screen button is not there anymore, also formatting looks strange

Welcome to Element Inspector! 

    Please make sure that your simulator is running and your App is opened, otherwise you can start it clicking on 'Start Simulator' Button.

     In this field you can get all the elements from the opened APP screen. To do so, you will need to press 'Get All Elements' button.

     In next window you'll be able to see hierarchy of the selected element. To select the element click on the screenshot of the simulator in 3rd window of this view. To sync screenshot with simulator - press 'Get Screen' button once, it'll automatically update every 7 seconds afterwards. 

     Choosing the element in the view hierarchy you'll get element address (copy/paste is enabled for this view). 

    Double-clicking on the view in hierarchy the element will flash in the simulator!

Have fun and reports bugs :)

Add Title to Calabash Config Screen

First time you launch Calabash launcher you need to setup the path to the tests as well as the cucumber path. However, this window has the name untitled.
Maybe we name the window "Calabash Launcher Setup"

Introduce Healthcheck

We need something that will decide whether simulator is ready to work or not, rather than retry 70-80 times to get the command done

Add a Vision document

In which we can lay out the general direction of where we see this project going.

Create a `release` scheme for managing releases

We will need a release scheme that will contain (Hockey and Auto-Update frameworks. For doing that safe, we will need some kind of bootstrap that will inject the hockey app identifier before the release build

Support all phone types in element inspector

Currently we support only iPhone 6, iPhone 7 and iPhone 8 because of the screen size mapping to the clickable view in inspector. Would be great to make the mapping extendable.

Cover removed functionality properly

We need to return back the functionality that got disabled because they were connected to the very specific implementation of our framework.

  1. Languages #17 (covered)
  2. Physical device (installation of the frameworks + find the device IP) #109 (covered)
  3. Build Picker #70 (covered)
  4. Localization

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.