Skip to content

Conversation

@KazuCocoa
Copy link
Member

@KazuCocoa KazuCocoa commented Dec 25, 2025

Started working on appium/appium#7172 slowly.

  1. Replace URL destinations from this repository with proper destinations
    • iosTestApp is not removal yet. We want to replace it with iosUICatalogApp based one
    • Remove IntentExample apk as no references
kazu $ git grep 'IntentExample'
Binary file test/integration/apps/IntentExample.apk matches
Binary file test/integration/apps/archives/IntentExample.zip matches
  1. Add downloading contents for tests (to cache them)
  2. Update test/integration/helpers/Caps.cs
  3. Update test/integration/IOS/LockDeviceTest.cs to work with iosUICatalogApp
  4. Update test/integration/IOS/WebviewTest.cs to work with iosUICatalogApp

@github-actions github-actions bot added the Test label Dec 25, 2025
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="ApiDemos_debug" type="System.Resources.ResXFileRef, System.Windows.Forms">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No references except for data names in this file and test/integration/helpers/Apps.cs

public const string iosWebviewApp = "iosWebviewApp";
public const string iosUICatalogApp = "iosUICatalogApp";
public const string androidApiDemos = "androidApiDemos";
public const string vodqaApp = "vodqaApp";
Copy link
Member Author

@KazuCocoa KazuCocoa Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't find references named vodqaApp in grep. It looks like this repo doesn't have test cases with this app

/// Amount of time in ms to wait for instruments before assuming it hung and failing the session
/// </summary>
public static readonly string LaunchTimeout = "launchTimeout";
public static readonly string LaunchTimeout = "wdaLaunchTimeout";
Copy link
Member Author

@KazuCocoa KazuCocoa Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#989 will fix this. Then, will remove this change although this is needed to run local test with extended timeout

@KazuCocoa KazuCocoa marked this pull request as ready for review December 28, 2025 02:37
@KazuCocoa KazuCocoa requested a review from Dor-bl December 28, 2025 02:39
@KazuCocoa KazuCocoa changed the title test: download test apps from our repos test: download test apps from our repos and remove removal test apps Dec 28, 2025
@KazuCocoa KazuCocoa requested a review from Copilot December 28, 2025 02:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the test infrastructure to download test applications from external repositories instead of embedding them as resources. The changes modernize the test app management by pointing to official Appium repositories and migrating test cases to use the iOS UICatalog app.

Key Changes:

  • Replaced embedded test app resources with a dynamic download mechanism that fetches apps from GitHub URLs
  • Updated iOS test cases (WebviewTest and LockDeviceTest) to use the iosUICatalogApp instead of iosWebviewApp
  • Modified the LaunchTimeout capability key from "launchTimeout" to "wdaLaunchTimeout" to align with WebDriverAgent requirements

Reviewed changes

Copilot reviewed 7 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
test/integration/helpers/Apps.cs Implements HTTP-based app downloading with caching, replacing embedded resources
test/integration/helpers/Caps.cs Updates iOS simulator device and platform version configuration
test/integration/IOS/WebviewTest.cs Refactored to work with iosUICatalogApp's web view functionality
test/integration/IOS/LockDeviceTest.cs Changed to use iosUICatalogApp instead of iosWebviewApp
test/integration/Properties/Resources.resx Removed embedded binary resources for test apps
test/integration/Properties/Resources.Designer.cs Removed auto-generated resource accessor methods
test/integration/Appium.Net.Integration.Tests.csproj Added System.Net.Http package dependency
src/Appium.Net/Appium/Enums/IOSMobileCapabilityType.cs Updated capability key to wdaLaunchTimeout
Files not reviewed (1)
  • test/integration/Properties/Resources.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@KazuCocoa KazuCocoa merged commit 6f94f2f into main Dec 31, 2025
2 of 3 checks passed
@KazuCocoa KazuCocoa deleted the download-test-app branch December 31, 2025 17:59
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.

3 participants