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.
23 lines
694 B
23 lines
694 B
2 years ago
|
import { test } from '@playwright/test';
|
||
|
import { DashboardPage } from '../pages/Dashboard';
|
||
|
import setup from '../setup';
|
||
|
import { ToolbarPage } from '../pages/Dashboard/common/Toolbar';
|
||
2 years ago
|
|
||
2 years ago
|
test.describe.only('Test block name', () => {
|
||
2 years ago
|
let dashboard: DashboardPage;
|
||
2 years ago
|
let toolbar: ToolbarPage;
|
||
2 years ago
|
let context: any;
|
||
|
|
||
|
test.beforeEach(async ({ page }) => {
|
||
|
context = await setup({ page });
|
||
|
dashboard = new DashboardPage(page, context.project);
|
||
2 years ago
|
toolbar = dashboard.grid.toolbar;
|
||
2 years ago
|
});
|
||
|
|
||
2 years ago
|
test('Test case name', async () => {
|
||
2 years ago
|
// close 'Team & Auth' tab
|
||
2 years ago
|
await dashboard.closeTab({ title: 'Team & Auth' });
|
||
|
await dashboard.treeView.openTable({ title: 'Country' });
|
||
2 years ago
|
});
|
||
|
});
|