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

ci: use ruby 3 #821

Merged
merged 5 commits into from
Dec 10, 2023
Merged

ci: use ruby 3 #821

merged 5 commits into from
Dec 10, 2023

Conversation

KazuCocoa
Copy link
Member

From #819 to minimize the change

set output type to not use result bundle
@KazuCocoa KazuCocoa marked this pull request as draft December 10, 2023 05:20
@KazuCocoa
Copy link
Member Author

hm, i need to modify the multi_scan as no longer maintained and it looks like having gan issue in newer version for Ruby 3 to update the macOS host to 13.

@KazuCocoa
Copy link
Member Author

KazuCocoa commented Dec 10, 2023

Failed test also handled as succcess as the Azure result. https://dev.azure.com/AppiumCI/Appium%20CI/_build/results?buildId=28350&view=logs&j=39405072-9080-5957-988c-7f66eed58e5d&t=6b08417a-2c8b-5c8e-78d2-6da1b0f41809

I noticed that current master also had the same result, so while test failed but the result was ok: https://dev.azure.com/AppiumCI/Appium%20CI/_build/results?buildId=28470&view=logs&j=39405072-9080-5957-988c-7f66eed58e5d&t=6b08417a-2c8b-5c8e-78d2-6da1b0f41809

So, as this pr, I'll make test failure as test fails. The fix will be later, firstly will mark these tests as skip, then work on #819. Then, will work on test fixes

@KazuCocoa
Copy link
Member Author

Current failing tests we should fix later:

  • iphone_int_test_1_Max_Xcode
    • FBAlertTests
      • [06:49:44]: ▸ ✖ testCameraRollAlert, Failed to Error Domain=com.apple.dt.xctest.ui-testing.error Code=10008 "No matches found for Elements matching predicate '"Cancel" IN identifiers' from input {(
      • [06:50:46]: ▸ ✖ testClickAlertButton, (([[[FBRunLoopSpinner new] interval:1.0] spinUntilTrue:^BOOL{ return (self.testedApplication.alerts.count != 0); }]) is true) failed
      • [06:51:53]: ▸ ✖ testDismissingAlert, Failed to Error Domain=com.apple.dt.xctest.ui-testing.error Code=10202 "Failed to scroll to visible (by AX action) Button, {{142.4, 227.8}, {104.6, 27.5}}, label: 'Create App Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281550640.29" UserInfo={NSLocalizedDescription=Failed to scroll to visible (by AX action) Button, {{142.4, 227.8}, {104.6, 27.5}}, label: 'Create App Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281550640.29, NSUnderlyingError=0x600001a315c0 {Error Domain=XCTDaemonErrorDomain Code=0 "Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281550640.29" UserInfo={NSLocalizedDescription=Error kAXErrorCannotComplete performing AXAction kAXScrollToVis...
      • [06:52:59]: ▸ ✖ testDismissingAlertWithCustomLocator, Failed to Error Domain=com.apple.dt.xctest.ui-testing.error Code=10202 "Failed to scroll to visible (by AX action) Button, {{142.4, 227.8}, {104.6, 27.5}}, label: 'Create App Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281550640.29" UserInfo={NSLocalizedDescription=Failed to scroll to visible (by AX action) Button, {{142.4, 227.8}, {104.6, 27.5}}, label: 'Create App Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281550640.29, NSUnderlyingError=0x6000018a49f0 {Error Domain=XCTDaemonErrorDomain Code=0 "Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281550640.29" UserInfo={NSLocalizedDescription=Error kAXErrorCannotComplete performing AXActi...
      • [06:54:05]: ▸ ✖ testGPSAccessAlert, Failed to Error Domain=com.apple.dt.xctest.ui-testing.error Code=10202 "Failed to scroll to visible (by AX action) Button, {{117.9, 332.5}, {154.2, 27.5}}, label: 'Create GPS access Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281552944.32" UserInfo={NSLocalizedDescription=Failed to scroll to visible (by AX action) Button, {{117.9, 332.5}, {154.2, 27.5}}, label: 'Create GPS access Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281552944.32, NSUnderlyingError=0x600001886cd0 {Error Domain=XCTDaemonErrorDomain Code=0 "Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281552944.32" UserInfo={NSLocalizedDescription=Error kAXErrorCannotComplete performing AXAction k...
      • [06:55:12]: ▸ ✖ testNotificationAlert, Failed to Error Domain=com.apple.dt.xctest.ui-testing.error Code=10202 "Failed to scroll to visible (by AX action) Button, {{118.8, 262.7}, {152.4, 27.5}}, label: 'Create Notification Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281551408.30" UserInfo={NSLocalizedDescription=Failed to scroll to visible (by AX action) Button, {{118.8, 262.7}, {152.4, 27.5}}, label: 'Create Notification Alert', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281551408.30, NSUnderlyingError=0x600001a354d0 {Error Domain=XCTDaemonErrorDomain Code=0 "Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 6682, elementOrHash.elementID: 140603281551408.30" UserInfo={NSLocalizedDescription=Error kAXErrorCannotComplete performing AXA...
  • iphone_int_test_3_Max_Xcode
    • FBW3CTouchActionsIntegrationTestsPart1
      • ✖ testLongPress, (([[[FBRunLoopSpinner new] interval:1.0] spinUntilTrue:^BOOL{ retur (self.testedApplication.alerts.count > 0); }]) is true) failed
  • ipad_int_test_1_Max_Xcode
    • FBAlertTests
      • testCameraRollAlert
      • testClickAlertButton
      • testDismissingAlert
      • testDismissingAlertWithCustomLocator
      • testGPSAccessAlert
      • testNotificationAlert
    • FBKeyboardTests
      • testTextTyping
  • ipad_int_test_3_Max_Xcode
    • FBAppiumTouchActionsIntegrationTestsPart1
      • testLongPress
    • FBTapTest
      • testTapCoordinatesInPortraitUpsideDown
      • testTapInLandscapeLeft
      • testTapInPortraitUpsideDown
  • ipad_int_test_1_Min_Xcode
    • FBKeyboardTests
      • testTextTyping

@KazuCocoa KazuCocoa marked this pull request as ready for review December 10, 2023 07:09
@KazuCocoa KazuCocoa merged commit de124e1 into master Dec 10, 2023
@KazuCocoa KazuCocoa deleted the ci-ruby branch December 10, 2023 07:11
Copy link

🎉 This PR is included in version 5.15.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants