|
|
@ -25,7 +25,7 @@ export class WorkspaceSettingsObject extends BasePage { |
|
|
|
async renameWorkspace({ newTitle }: { newTitle: string }) { |
|
|
|
async renameWorkspace({ newTitle }: { newTitle: string }) { |
|
|
|
await this.clickSettingsTab(); |
|
|
|
await this.clickSettingsTab(); |
|
|
|
await this.get().getByTestId('nc-workspace-settings-settings-rename-input').fill(newTitle); |
|
|
|
await this.get().getByTestId('nc-workspace-settings-settings-rename-input').fill(newTitle); |
|
|
|
const submitAction = () => this.get().getByTestId('nc-workspace-settings-settings-rename-submit').click(); |
|
|
|
const submitAction = () => this.rootPage.keyboard.press('Enter'); |
|
|
|
|
|
|
|
|
|
|
|
await this.waitForResponse({ |
|
|
|
await this.waitForResponse({ |
|
|
|
uiAction: submitAction, |
|
|
|
uiAction: submitAction, |
|
|
|