mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 08:02:28 +00:00
* 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
21 lines
799 B
JavaScript
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.')
|
|
}
|