File size: 385 Bytes
af1bee9
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import { Page } from '@playwright/test';
import { HCMUi } from '../hcm/ui';
import { NAV } from './labels';

/** CX page actions (SCRIPT ONLY; never run: execution_hold, no CX mock pack). Same locator policy as the other packs. */
export class CXUi extends HCMUi {
  constructor(page: Page) { super(page); }
  async cxNav(key: keyof typeof NAV) { await this.go(NAV[key]); }
}