The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/tests/e2e/page-objects/account.ts

18 lines
456 B

import type { Page } from '@playwright/test';
import { AccountSidebar, ToastMessages } from './fragments';
export abstract class Account {
readonly toastMessage: ToastMessages;
readonly sidebar: AccountSidebar;
constructor(protected page: Page) {
this.toastMessage = new ToastMessages(page);
this.sidebar = new AccountSidebar(page);
}
protected get saveChangesButton() {
return this.page.getByRole('button', { name: 'Save changes' });
}
}