CI: Windows smoke test of the installed app (#19) #30
@@ -106,6 +106,13 @@ jobs:
|
|||||||
Write-Host "--- WebView2 runtime"
|
Write-Host "--- WebView2 runtime"
|
||||||
Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' -ErrorAction SilentlyContinue | Select-Object pv | Out-String | Write-Host
|
Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' -ErrorAction SilentlyContinue | Select-Object pv | Out-String | Write-Host
|
||||||
Write-Host "--- whoami: $(whoami)"
|
Write-Host "--- whoami: $(whoami)"
|
||||||
|
Write-Host "--- webview2 command lines"
|
||||||
|
Get-CimInstance Win32_Process -Filter "Name='msedgewebview2.exe'" | Select-Object -First 2 | ForEach-Object { Write-Host $_.CommandLine.Substring(0, [Math]::Min(600, $_.CommandLine.Length)) }
|
||||||
|
Write-Host "--- netstat"
|
||||||
|
netstat -ano | Select-String "LISTENING" | Select-String ":9222 |:44548 " | ForEach-Object { Write-Host $_ }
|
||||||
|
Write-Host "--- http probes"
|
||||||
|
try { (Invoke-WebRequest -UseBasicParsing http://127.0.0.1:9222/json/version -TimeoutSec 5).Content | Write-Host } catch { Write-Host "9222: $($_.Exception.Message)" }
|
||||||
|
try { (Invoke-WebRequest -UseBasicParsing http://localhost:44548/ -TimeoutSec 5).StatusCode | Write-Host } catch { Write-Host "44548: $($_.Exception.Message)" }
|
||||||
node smoke-deps\windows-smoke.mjs smoke-out
|
node smoke-deps\windows-smoke.mjs smoke-out
|
||||||
|
|
||||||
- name: Stop the app
|
- name: Stop the app
|
||||||
|
|||||||
Reference in New Issue
Block a user