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 Operations', () => {
test.beforeEach(async ({page}) => {
context = await setup({ page });
dashboard = new DashboardPage(page, context.project);
settings = new SettingsPage(page);
settings = dashboard.settings;
})
test('Create, and delete table, verify in audit tab, rename City table and reorder tables', async () => {