Download automation/src/modules/a2r/ui.ts from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/automation/src/modules/a2r/ui.ts
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/automation/src/modules/a2r/ui.ts
-
curl -L -o ui.ts https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/automation/src/modules/a2r/ui.ts
385 Bytes
| import { Page } from '@playwright/test'; | |
| import { R2RUi } from '../r2r/ui'; | |
| import { NAV } from './labels'; | |
| /** Page actions for the MOCK A2R pack (same locator policy as the other packs). Every label comes from ./labels.ts. */ | |
| export class A2RUi extends R2RUi { | |
| constructor(page: Page) { super(page); } | |
| async a2rNav(key: keyof typeof NAV) { await this.go(NAV[key]); } | |
| } | |