mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-27 23:07:12 +02:00
18 lines
397 B
TypeScript
18 lines
397 B
TypeScript
import type { Locator } from '@playwright/test';
|
|
|
|
import { BaseModal } from './BaseModal';
|
|
|
|
export class ChatHubCredentialModal extends BaseModal {
|
|
constructor(private root: Locator) {
|
|
super(root.page());
|
|
}
|
|
|
|
getCredentialSelector(): Locator {
|
|
return this.root.getByRole('combobox');
|
|
}
|
|
|
|
getCreateButton(): Locator {
|
|
return this.page.getByTestId('node-credentials-select-item-new');
|
|
}
|
|
}
|