test: preview (disabled, wip)

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2022-10-22 17:02:40 +05:30
committed by Muhammed Mustafa
parent adc74498e4
commit 1c1429870c
4 changed files with 168 additions and 4 deletions

View File

@@ -13,10 +13,14 @@ export class ViewSidebarPage extends BasePage {
constructor(dashboard: DashboardPage) {
super(dashboard.rootPage);
this.dashboard = dashboard;
this.createGalleryButton = this.get().locator(".nc-create-gallery-view");
this.createGridButton = this.get().locator(".nc-create-grid-view");
this.createFormButton = this.get().locator(".nc-create-form-view");
this.createKanbanButton = this.get().locator(".nc-create-kanban-view");
this.createGalleryButton = this.get().locator(
".nc-create-gallery-view:visible"
);
this.createGridButton = this.get().locator(".nc-create-grid-view:visible");
this.createFormButton = this.get().locator(".nc-create-form-view:visible");
this.createKanbanButton = this.get().locator(
".nc-create-kanban-view:visible"
);
}
get() {