10 lines
424 B
JavaScript
10 lines
424 B
JavaScript
import { test, expect } from '@playwright/test'
|
|
|
|
test('test', async ({ page }) => {
|
|
page.on('pageerror', (exception) => expect(exception).toBeNull())
|
|
await page.goto('http://localhost:7130/pc/grid-tree-grid/tree-table-tree-grid-fixed-column')
|
|
const fixedColumn = await page.locator('//*[@id="preview"]/div[2]/div[2]/div/div/div/div[3]/table/tbody/tr[1]/td[1]')
|
|
|
|
await expect(fixedColumn).toHaveCSS('left', '0px')
|
|
})
|