-
Notifications
You must be signed in to change notification settings - Fork 187
test: download test apps from our repos and remove removal test apps #987
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
Conversation
| <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"> |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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
There was a problem hiding this 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.
Started working on appium/appium#7172 slowly.
iosTestAppis not removal yet. We want to replace it withiosUICatalogAppbased oneIntentExampleapk as no references