feat(testing): Refactored Page object model

This commit is contained in:
Muhammed Mustafa
2022-10-11 22:26:50 +05:30
parent ebd0afb2d1
commit d576b7c1d1
6 changed files with 24 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ test.describe('Table Column Operations', () => {
test.beforeEach(async ({page}) => {
context = await setup({ page });
dashboard = new DashboardPage(page, context.project);
grid = new GridPage(dashboard);
grid = dashboard.grid;
await dashboard.treeView.createTable({title: "sheet1"});
})