mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 17:26:53 +00:00
20 lines
493 B
TypeScript
20 lines
493 B
TypeScript
import { ToolbarActionsPage } from ".";
|
|
import { ErdBasePage } from "../../../commonBase/Erd";
|
|
|
|
export class ToolbarActionsErdPage extends ErdBasePage {
|
|
readonly toolbarActions: ToolbarActionsPage;
|
|
|
|
constructor(toolbarActions: ToolbarActionsPage) {
|
|
super(toolbarActions.rootPage);
|
|
this.toolbarActions = toolbarActions;
|
|
}
|
|
|
|
get() {
|
|
return this.rootPage.locator(`.erd-single-table-modal`);
|
|
}
|
|
|
|
async close() {
|
|
await this.get().locator('.nc-modal-close').click();
|
|
}
|
|
}
|