-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dg-table-view): set default view of DGs to table view and use ne…
…w table component
- Loading branch information
Showing
6 changed files
with
133 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { test, expect } from '@playwright/test'; | ||
import { gotoScene, locatorOne } from './utils'; | ||
import { clickRow, expectClickedRowsCount } from './table'; | ||
|
||
test('table-clickable-rows', async ({ page }, { config }) => { | ||
const sceneRoot = await gotoScene(config, page, 'table-refactor-scenes', 'clickable-rows'); | ||
|
||
const table = await locatorOne(sceneRoot, 'table.ui'); | ||
await expectClickedRowsCount(sceneRoot, 0); | ||
|
||
await clickRow(table, 0); | ||
await expectClickedRowsCount(sceneRoot, 1); | ||
|
||
await clickRow(table, 1); | ||
await expectClickedRowsCount(sceneRoot, 2); | ||
|
||
await clickRow(table, 2); | ||
await expectClickedRowsCount(sceneRoot, 3); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters