Files
orca/config/scripts/verify-packaged-browser-participation.mjs
Neil 2e8fa3fe9b test: exercise packaged browser compatibility in scheduled CI (#19157)
* test: exercise packaged browser compatibility in scheduled CI

* test: record final packaged workflow participation evidence

* test: expose manual packaged revision and simplify executable check

* test: reject missing package checksum assertion
2026-09-06 17:42:49 -07:00

21 lines
799 B
JavaScript

import { readFileSync } from 'node:fs'
import { pathToFileURL } from 'node:url'
import { verifyPlaywrightParticipation } from './verify-playwright-participation.mjs'
export const PACKAGED_BROWSER_TEST_TITLES = [
'keeps an old packaged client on the current server-hosted path',
'keeps a current client on an old packaged server-hosted path'
]
export function verifyPackagedBrowserParticipation(report) {
verifyPlaywrightParticipation(report, {
titles: PACKAGED_BROWSER_TEST_TITLES,
label: 'Packaged browser'
})
}
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
verifyPackagedBrowserParticipation(JSON.parse(readFileSync(process.argv[2], 'utf8')))
console.log('Both packaged browser directions passed three times without skips or retries.')
}