Skip to content
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

Xcode 7 GM: failing WebView test on iOS 9 #226

Open
jmoody opened this issue Aug 19, 2015 · 3 comments
Open

Xcode 7 GM: failing WebView test on iOS 9 #226

jmoody opened this issue Aug 19, 2015 · 3 comments
Labels

Comments

@jmoody
Copy link
Contributor

jmoody commented Aug 19, 2015

The have been disabled for iOS 9, but should be investigated.

  • CalWebApp app Scenarios are all green.
LPWebQueryTest
  testArrayByEvaluatingNoVisibleCenterIsZeroZeroButInsideYES, failed: caught "NSInvalidArgumentException", "-[__NSArrayM ancestorSharedWithLayer:]: unrecognized selector sent to instance 0x7f8384c315b0"
  /Users/moody/git/calabash/calabash-ios-server/calabash/Classes/WebViewQuery/LPWebQuery.m:76

    CGPoint center = CGPointMake(webViewPageOffset.x + center_x, webViewPageOffset.y + center_y);
    CGPoint windowCenter = [window convertPoint:center fromView:webView];
    CGPoint keyCenter = [frontWindow convertPoint:windowCenter fromWindow:window];


  testArrayByEvaluatingNoVisibleCenterNotZeroZeroButPointInsideNO, failed: caught "NSInvalidArgumentException", "-[__NSArrayM ancestorSharedWithLayer:]: unrecognized selector sent to instance 0x7f83848d6b20"
  /Users/moody/git/calabash/calabash-ios-server/calabash/Classes/WebViewQuery/LPWebQuery.m:76

    CGPoint center = CGPointMake(webViewPageOffset.x + center_x, webViewPageOffset.y + center_y);
    CGPoint windowCenter = [window convertPoint:center fromView:webView];
    CGPoint keyCenter = [frontWindow convertPoint:windowCenter fromWindow:window];


  testArrayByEvaluatingQueryCss, failed: caught "NSInvalidArgumentException", "-[__NSArrayM ancestorSharedWithLayer:]: unrecognized selector sent to instance 0x7f83848d8900"
  /Users/moody/git/calabash/calabash-ios-server/calabash/Classes/WebViewQuery/LPWebQuery.m:76

    CGPoint center = CGPointMake(webViewPageOffset.x + center_x, webViewPageOffset.y + center_y);
    CGPoint windowCenter = [window convertPoint:center fromView:webView];
    CGPoint keyCenter = [frontWindow convertPoint:windowCenter fromWindow:window];

@jmoody
Copy link
Contributor Author

jmoody commented Aug 19, 2015

@krukow @sapieneptus

These might spell trouble.

caught "NSInvalidArgumentException", "-[__NSArrayM ancestorSharedWithLayer:]:

@jmoody jmoody changed the title Xcode 7 beta 5: failing unit tests Xcode 7 beta 6: failing unit tests Sep 2, 2015
@jmoody jmoody changed the title Xcode 7 beta 6: failing unit tests Xcode 7 GM: failing unit tests Sep 11, 2015
@jmoody jmoody added the bug label Sep 11, 2015
@jmoody jmoody modified the milestones: 0.16.1, 0.16.2 Sep 11, 2015
@jmoody
Copy link
Contributor Author

jmoody commented Sep 16, 2015

Fixed up some of the tests, but the WebView tests are still broken.

I disabled them for iOS 9.

@jmoody
Copy link
Contributor Author

jmoody commented Sep 16, 2015

@jmoody jmoody changed the title Xcode 7 GM: failing unit tests Xcode 7 GM: failing WebView test on iOS 9 Sep 16, 2015
@jmoody jmoody modified the milestones: 0.16.4, 0.16.2 Sep 30, 2015
@jmoody jmoody modified the milestones: 0.16.5, 0.16.4 Oct 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant