Skip to content

Commit

Permalink
Fix element view test for PR 440
Browse files Browse the repository at this point in the history
  • Loading branch information
NateLanza committed Jan 24, 2025
1 parent fa7923e commit c8f63ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e-tests/elementView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ test('Element View', async ({ page, browserName }) => {
await expect(selectionChip).toBeVisible();

// Check that the datatable is visible and populated
const dataTable = page.getByText(
'LabelDegreeDeviationAgeSchoolBlue HairDuff FanEvilBart10yesnononoRalph8yesnononoMartin Prince10yesnononoRows per page:1001–3 of',
);
const dataTable = page.getByRole('grid')
dataTable.scrollIntoViewIfNeeded();
await expect(dataTable).toBeVisible();
const nameCell = await page.getByRole('cell', { name: 'Bart' });
Expand Down

0 comments on commit c8f63ab

Please sign in to comment.