Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
46bbbfe
WIP: iOS integration test
jpnurmi Sep 24, 2025
43b57c7
Split common.ps1 vs. setup.ps1
jpnurmi Sep 24, 2025
d79436c
Fix empty --device argument
jpnurmi Sep 24, 2025
a916900
Temp speed up
jpnurmi Sep 24, 2025
67fd410
Try BeforeAll
jpnurmi Sep 24, 2025
83c3084
Restore, retry, artifacts
jpnurmi Sep 24, 2025
6cc7696
Add test/Sentry.Maui.Device.IntegrationTestApp
jpnurmi Sep 24, 2025
abdc057
Update solution filter
jpnurmi Sep 24, 2025
7ac73d0
Speed up
jpnurmi Sep 25, 2025
adf7b68
Partial revert
jpnurmi Sep 25, 2025
e190195
Managed vs. Native vs. NullRefenceException
jpnurmi Sep 25, 2025
aff8901
Fixup
jpnurmi Sep 25, 2025
29bef65
Move to integration-test/ios.Tests.ps1
jpnurmi Sep 25, 2025
2c516c2
Fixup
jpnurmi Sep 25, 2025
30b08fd
Use shared Install-XHarness
jpnurmi Sep 25, 2025
6389645
Fix Install-XHarness
jpnurmi Sep 25, 2025
44a190e
Add RunTestApp helper func
jpnurmi Sep 25, 2025
26e6d05
Fix Install-XHarness - attempt 2
jpnurmi Sep 25, 2025
5f6eb95
Prefer booted sims
jpnurmi Sep 25, 2025
28a57ae
Convert tabs to spaces
jpnurmi Sep 25, 2025
ba70ab2
Fix PreferredStates
jpnurmi Sep 25, 2025
64d2827
Fix Install-XHarness
jpnurmi Sep 25, 2025
90cda33
Rename to mobile.Tests.ps1 and prepare iOS context
jpnurmi Sep 25, 2025
c58bd4f
Leave scripts/device-test-utils.ps1 in the sparse checkout for integr…
jpnurmi Sep 25, 2025
5e01b48
Add missing timeout
jpnurmi Sep 25, 2025
8121c4c
Fix Android tfm
jpnurmi Sep 25, 2025
d508359
Prepare predictable Activity name on Android
jpnurmi Sep 25, 2025
76eeddf
Fix path
jpnurmi Sep 25, 2025
4931fcb
Add missing continue-on-error: true
jpnurmi Sep 25, 2025
f438a74
Apply suggestions from code review
jpnurmi Sep 26, 2025
459508a
Move the app to integration-test/mobile-app
jpnurmi Sep 26, 2025
24646df
restore ios 18.5
jpnurmi Sep 26, 2025
9b924e3
MSBUILD : error MSB1009: Project file does not exist.
jpnurmi Sep 26, 2025
ad8f805
.gitignore :x
jpnurmi Sep 26, 2025
6b88514
WIP: add integration tests for Android
jpnurmi Sep 29, 2025
8716532
Run Android integration tests in CI
jpnurmi Sep 30, 2025
2b3bb23
try catch for adb devices
jpnurmi Sep 30, 2025
73274fb
Get-AndroidEmulatorId
jpnurmi Sep 30, 2025
fea7c1e
Split mobile.Tests.ps1 -> ios.Tests.ps1 vs. android.Tests.ps1
jpnurmi Sep 30, 2025
3a4e786
Try checkout ../github-workflows
jpnurmi Sep 30, 2025
1131252
modules/github-workflows
jpnurmi Sep 30, 2025
bab2235
setup env
jpnurmi Sep 30, 2025
88b40b1
checkout submodules
jpnurmi Sep 30, 2025
7c4f0b9
Try selecting Java 17 for integration tests
jpnurmi Sep 30, 2025
8144e87
Clean up & use the new YAML anchors to reduce repeat
jpnurmi Sep 30, 2025
2f2b515
Simplify iOS integration test skip condition
jpnurmi Oct 1, 2025
185dbf2
Simplify and stabilize
jpnurmi Oct 2, 2025
8f3b094
Move test assertions outside output groups
jpnurmi Oct 3, 2025
97062d5
Replace unamge with cross-platform OS arch checks
jpnurmi Oct 3, 2025
e1cc0c5
Replace direct `adb` calls with `xharness android adb`
jpnurmi Oct 3, 2025
7d72059
Pre-install & xharness adb devices
jpnurmi Oct 3, 2025
5ae455d
Don't try to run adb devices in the CI
jpnurmi Oct 3, 2025
7089ea5
Update android.Tests.ps1
jamescrosswell Oct 6, 2025
18c7fc8
Get-AndroidEmulatorId: fix env:ANDROID_SERIAL check
jpnurmi Oct 6, 2025
4e2cf5d
Apply suggestion from @Flash0ver
jpnurmi Oct 6, 2025
c26d952
Merge remote-tracking branch 'upstream/main' into test/ios-integration
jpnurmi Oct 6, 2025
a8c25a7
Try-finally for adb reverse
jpnurmi Oct 7, 2025
fed73a4
Use --remove-all for port-forwarding cleanup
jpnurmi Oct 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions scripts/device-test-utils.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function Install-XHarness {
function Install-XHarness
{
if (!(Get-Command xharness -ErrorAction SilentlyContinue))
{
$CI = Test-Path env:CI
Expand All @@ -9,8 +10,9 @@ function Install-XHarness {
}
}

function Get-AndroidEmulatorId {
if ($env:ANDROID_SERIAL)
function Get-AndroidEmulatorId
{
if ((Test-Path env:CI) -or (Test-Path $env:ANDROID_SERIAL))
{
return $env:ANDROID_SERIAL
}
Expand Down
Loading