mirror of https://github.com/nocodb/nocodb
15 changed files with 42 additions and 23 deletions
@ -1,5 +1,5 @@
|
||||
import { Page, expect } from "@playwright/test"; |
||||
import { BasePage } from "../Base"; |
||||
import { BasePage } from "../../../Base"; |
||||
import {SelectOptionColumnPageObject} from "./SelectOptionColumn"; |
||||
|
||||
export class ColumnPageObject { |
@ -1,21 +1,15 @@
|
||||
// playwright-dev-page.ts
|
||||
import { Locator, Page, expect } from '@playwright/test'; |
||||
import { BasePage } from '../Base'; |
||||
import { CellPageObject } from '../Cell'; |
||||
import { ColumnPageObject } from '../Column'; |
||||
import { Locator, Page } from '@playwright/test'; |
||||
import { BasePage } from '../../../Base'; |
||||
|
||||
export class ExpandedFormPage { |
||||
readonly page: Page; |
||||
readonly addNewTableButton: Locator; |
||||
readonly column: ColumnPageObject; |
||||
readonly cell: CellPageObject; |
||||
readonly base: BasePage; |
||||
|
||||
constructor(page: Page) { |
||||
this.page = page; |
||||
this.addNewTableButton = page.locator('.nc-add-new-table'); |
||||
this.column = new ColumnPageObject(page); |
||||
this.cell = new CellPageObject(page); |
||||
this.base = new BasePage(page); |
||||
} |
||||
|
@ -1,5 +1,5 @@
|
||||
// playwright-dev-page.ts
|
||||
import { Page, expect } from '@playwright/test'; |
||||
import { expect } from '@playwright/test'; |
||||
import { SettingsPage } from '.'; |
||||
|
||||
export class AuditSettingsPage { |
@ -1,5 +1,5 @@
|
||||
import { expect, Page } from "@playwright/test"; |
||||
import { BasePage } from "./Base"; |
||||
import { BasePage } from "../Base"; |
||||
|
||||
export class TreeViewPage { |
||||
readonly page: Page; |
@ -0,0 +1,20 @@
|
||||
import { test } from '@playwright/test'; |
||||
import { DashboardPage } from '../pages/Dashboard'; |
||||
import { SettingsPage } from '../pages/Dashboard/Settings'; |
||||
import setup from '../setup'; |
||||
|
||||
|
||||
test.describe.skip('Views', () => { |
||||
let dashboard: DashboardPage, settings: SettingsPage; |
||||
let context: any; |
||||
|
||||
test.beforeEach(async ({page}) => { |
||||
context = await setup({ page }); |
||||
dashboard = new DashboardPage(page, context.project); |
||||
settings = new SettingsPage(page); |
||||
}) |
||||
|
||||
test('Create, and delete table, verify in audit tab, rename City table and reorder tables', async () => { |
||||
}); |
||||
|
||||
}); |
Loading…
Reference in new issue