mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-12 16:10:30 +02:00
18 lines
378 B
TypeScript
18 lines
378 B
TypeScript
import type { Locator, Page } from '@playwright/test';
|
|
|
|
import { BasePage } from './BasePage';
|
|
|
|
export class ChatHubWorkflowAgentsPage extends BasePage {
|
|
constructor(page: Page) {
|
|
super(page);
|
|
}
|
|
|
|
getAgentCards(): Locator {
|
|
return this.page.getByTestId('chat-agent-card');
|
|
}
|
|
|
|
getEmptyText(): Locator {
|
|
return this.page.getByText('No workflow agents available.');
|
|
}
|
|
}
|