Skip to content

Commit 9c1b46b

Browse files
committed
Update Query test to match what's in react-sdk-components
1 parent 070765f commit 9c1b46b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/e2e/Digv2/ComplexFields/Query.spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/* eslint-disable no-undef */
22
const { test, expect } = require('@playwright/test');
3+
34
const config = require('../../../config');
45
const common = require('../../../common');
56

67
test.beforeEach(async ({ page }) => {
78
await page.setViewportSize({ width: 1720, height: 1080 });
8-
await page.goto('http://localhost:3502/portal');
9+
await page.goto('http://localhost:3502/portal', { waitUntil: 'networkidle' });
910
});
1011

1112
test.describe('E2E test', () => {
@@ -64,7 +65,7 @@ test.describe('E2E test', () => {
6465
await selectedDisplayAs.click();
6566
await page.locator('li:has-text("Table")').click();
6667

67-
const tableRows = page.locator('div[id="simple-table-manual"]');
68+
const tableRows = page.locator('div[id="list-view"]');
6869
await expect(tableRows).toBeVisible();
6970
}, 10000);
7071
});

0 commit comments

Comments
 (0)