Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

799 B
Raw Blame
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.')
}