mirror of https://github.com/nocodb/nocodb
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.
20 lines
493 B
20 lines
493 B
2 years ago
|
import { ToolbarActionsPage } from '.';
|
||
|
import { ErdBasePage } from '../../../commonBase/Erd';
|
||
2 years ago
|
|
||
|
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();
|
||
|
}
|
||
|
}
|