mirror of
https://github.com/lingble/twenty.git
synced 2025-11-20 07:54:52 +00:00
14 lines
337 B
TypeScript
14 lines
337 B
TypeScript
import { Locator, Page } from '@playwright/test';
|
|
|
|
export class SecuritySection {
|
|
private readonly inviteByLinkToggle: Locator;
|
|
|
|
constructor(public readonly page: Page) {
|
|
this.inviteByLinkToggle = page.locator('input[type="checkbox"]').nth(1);
|
|
}
|
|
|
|
async toggleInviteByLink() {
|
|
await this.inviteByLinkToggle.click();
|
|
}
|
|
}
|