Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

617 B
Raw Blame
import { expect, type Locator } from '@playwright/test';

/** Assert the exact authored/wire text, including invisible resource metadata.
 * textContent is only presentation and cannot be the oracle for atomic chips. */
export function composerText(input: Locator): Promise<string> {
  return input.evaluate(element => (window as any).composerText(element));
}
export async function expectComposerText(input: Locator, expected: string | RegExp) {
  if (typeof expected === 'string') await expect.poll(() => composerText(input)).toBe(expected);
  else await expect.poll(() => composerText(input)).toMatch(expected);
}