Add responsive parity smoke matrix

This commit is contained in:
Meta Vens 2026-06-05 19:18:17 +01:00
commit e61c2a58a7
14 changed files with 191 additions and 67 deletions

View file

@ -1,6 +1,8 @@
param(
[ValidateSet("windows", "linux")]
[string] $Target = "windows",
[ValidateSet("phone", "tablet", "desktop")]
[string] $ViewportId = "desktop",
[string] $OutputPath = "artifacts\parity\flutter-windows-cultui-inspector.png"
)
@ -30,7 +32,7 @@ try {
Pop-Location
}
$golden = Join-Path $flutterRoot "test\goldens\cultui-inspector.png"
$golden = Join-Path $flutterRoot "test\goldens\cultui-inspector-$ViewportId.png"
if (-not (Test-Path $golden) -or (Get-Item $golden).Length -le 0) {
throw "Flutter golden did not produce a PNG: $golden"
}