mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
18 lines
731 B
JavaScript
18 lines
731 B
JavaScript
import { verifyPlaywrightParticipation } from './verify-playwright-participation.mjs'
|
|
import { readFileSync } from 'node:fs'
|
|
import { pathToFileURL } from 'node:url'
|
|
|
|
export const WSL_TEST_TITLES = [
|
|
'tab-bar + menu launches an agent inside WSL @tab-bar-agent-launch-golden',
|
|
'existing WSL terminal keeps paste runtime after default shell changes'
|
|
]
|
|
|
|
export function verifyWslParticipation(report) {
|
|
verifyPlaywrightParticipation(report, { titles: WSL_TEST_TITLES, label: 'WSL' })
|
|
}
|
|
|
|
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
|
|
verifyWslParticipation(JSON.parse(readFileSync(process.argv[2], 'utf8')))
|
|
console.log('Both WSL scenarios passed three times without skips or retries.')
|
|
}
|