test: list cell data

This commit is contained in:
Dan Ribbens
2022-07-19 02:02:06 -04:00
parent 793dfe96b9
commit 2ea545f0cf

View File

@@ -27,7 +27,7 @@ describe('fields', () => {
test('should display field in list view', async () => {
const url: AdminUrlUtil = new AdminUrlUtil(serverURL, 'text-fields');
await page.goto(url.list);
const textCell = page.locator('table tr:first-child td:first-child a');
const textCell = page.locator('.row-1 .cell-text');
await expect(textCell)
.toHaveText(textDoc.text);
});