Add native Android parity captures
This commit is contained in:
parent
987e90cd90
commit
81a7ed7f44
4 changed files with 49 additions and 14 deletions
|
|
@ -12,6 +12,7 @@ $runRoot = Join-Path $projectRoot (Join-Path $OutputDirectory $stamp)
|
|||
New-Item -ItemType Directory -Force $runRoot | Out-Null
|
||||
$manifest = Get-Content (Join-Path $projectRoot "tools\parity\parity-manifest.json") | ConvertFrom-Json
|
||||
$responsiveCases = @($manifest.responsiveCases)
|
||||
$androidNativeCases = @($manifest.androidNativeCases)
|
||||
|
||||
$results = [ordered]@{
|
||||
schema = "gamecult.eve.parity_smoke.v1"
|
||||
|
|
@ -87,6 +88,14 @@ try {
|
|||
}
|
||||
}
|
||||
|
||||
foreach ($case in $androidNativeCases) {
|
||||
Invoke-Capture "android-$($case.id)" {
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\capture-android-screenshot.ps1 `
|
||||
-OutputPath (Join-Path $runRoot "android-periwinkle-$($case.id).png") `
|
||||
-Orientation $case.orientation
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($case in $responsiveCases) {
|
||||
Invoke-Capture "windows-$($case.id)" {
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\capture-flutter-parity.ps1 `
|
||||
|
|
|
|||
Loading…
Reference in a new issue