Measure Sai web layout probe
This commit is contained in:
parent
c0c17beb45
commit
e81c81bd3e
7 changed files with 44 additions and 16 deletions
|
|
@ -67,6 +67,9 @@ try {
|
|||
--expect-screenshot-metric web:embedded-surface:color-tokens:pass `
|
||||
--expect-screenshot-metric web:embedded-surface:text-presence:pass `
|
||||
--expect-screenshot-metric web:embedded-surface:bounding-boxes:pass `
|
||||
--expect-screenshot-metric web:sai-vn:structure:pass `
|
||||
--expect-screenshot-metric web:sai-vn:color-tokens:pass `
|
||||
--expect-screenshot-metric web:sai-vn:bounding-boxes:pass `
|
||||
--expect-screenshot-metric electron-shell:aetheria-world:bounding-boxes:pending-capture `
|
||||
--expect-capability-gap "split-target:EveUnity:EveUnity:proof:Tagged UPM release" `
|
||||
--expect-conformance-handoff
|
||||
|
|
|
|||
|
|
@ -14,6 +14,12 @@ $env:EVE_PARITY_OUTPUT = if ([System.IO.Path]::IsPathRooted($OutputDirectory)) {
|
|||
Push-Location $projectRoot
|
||||
try {
|
||||
& (Join-Path $PSScriptRoot "run-web-reference-layout-probe-smoke.ps1")
|
||||
& (Join-Path $PSScriptRoot "run-web-reference-layout-probe-smoke.ps1") `
|
||||
-ProviderId "gamecult.home.vn" `
|
||||
-FixtureId "sai-vn" `
|
||||
-OutputPath "artifacts\web-reference-layout-probe\latest\sai-vn.json" `
|
||||
-Port 8893 `
|
||||
-SkipBuild
|
||||
node .\tools\parity\run-parity.mjs
|
||||
& (Join-Path $PSScriptRoot "run-eveconformance-handoff-smoke.ps1")
|
||||
& (Join-Path $PSScriptRoot "run-plugin-handoff-smoke.ps1")
|
||||
|
|
|
|||
|
|
@ -128,6 +128,9 @@ node $consumerScript $consumerExport `
|
|||
--expect-screenshot-metric web:embedded-surface:color-tokens:pass `
|
||||
--expect-screenshot-metric web:embedded-surface:text-presence:pass `
|
||||
--expect-screenshot-metric web:embedded-surface:bounding-boxes:pass `
|
||||
--expect-screenshot-metric web:sai-vn:structure:pass `
|
||||
--expect-screenshot-metric web:sai-vn:color-tokens:pass `
|
||||
--expect-screenshot-metric web:sai-vn:bounding-boxes:pass `
|
||||
--expect-screenshot-metric unity-scene:aetheria-world:bounding-boxes:pending-capture `
|
||||
--expect-screenshot-metric electron-shell:aetheria-world:bounding-boxes:pending-capture `
|
||||
--expect-screenshot-metric tui:aetheria-world:bounding-boxes:pending-capture `
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ param(
|
|||
[string] $OutputPath = "artifacts\web-reference-layout-probe\latest\embedded-surface.json",
|
||||
[int] $Port = 8892,
|
||||
[int] $Width = 1280,
|
||||
[int] $Height = 720
|
||||
[int] $Height = 720,
|
||||
[switch] $SkipBuild
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
|
@ -18,9 +19,11 @@ $absoluteOutputPath = if ([System.IO.Path]::IsPathRooted($OutputPath)) {
|
|||
|
||||
Push-Location $projectRoot
|
||||
try {
|
||||
npm --prefix packages/eve-browser-lowering run build | Out-Host
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Eve browser lowering build failed with exit code $LASTEXITCODE"
|
||||
if (-not $SkipBuild) {
|
||||
npm --prefix packages/eve-browser-lowering run build | Out-Host
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Eve browser lowering build failed with exit code $LASTEXITCODE"
|
||||
}
|
||||
}
|
||||
|
||||
node .\tools\web-reference\run-layout-probe.mjs `
|
||||
|
|
|
|||
Loading…
Reference in a new issue