2022-12-15 07:39:59 -08:00
|
|
|
import { BasePage } from './base';
|
2022-11-24 14:22:09 -08:00
|
|
|
|
|
|
|
export class SettingsUsersPage extends BasePage {
|
|
|
|
url = '/settings/users';
|
|
|
|
getters = {
|
2023-01-09 08:23:39 -08:00
|
|
|
setUpOwnerButton: () => cy.getByTestId('action-box').find('button').first(),
|
2023-02-08 12:41:35 -08:00
|
|
|
inviteButton: () => cy.getByTestId('settings-users-invite-button').last(),
|
|
|
|
inviteUsersModal: () => cy.getByTestId('inviteUser-modal').last(),
|
|
|
|
inviteUsersModalEmailsInput: () => cy.getByTestId('emails').find('input').first(),
|
2022-12-15 07:39:59 -08:00
|
|
|
};
|
2022-11-24 14:22:09 -08:00
|
|
|
actions = {
|
|
|
|
goToOwnerSetup: () => this.getters.setUpOwnerButton().click(),
|
2022-12-15 07:39:59 -08:00
|
|
|
};
|
2022-11-24 14:22:09 -08:00
|
|
|
}
|