tests(Playwright): Full implementation of Page Object Models (POMs) to Playwright tests (#5608)
This commit is contained in:
1 parent
7b12dcf048
commit
d917e74e68
58 files changed
+1167
-496
No files matched your search
@@ -25,13 +25,13 @@ test('should render scroll bars with the correct look-and-feel', async ({ page }
|
||||
// Wait for the expanded row to be visible and rendered
|
||||
await expandedStudyRow.waitFor({ state: 'visible', timeout: 10000 });
|
||||
await expandedStudyRow.scrollIntoViewIfNeeded();
|
||||
|
||||
|
||||
// Wait for content to load and stabilize, including any lazy-loaded items
|
||||
await page.waitForTimeout(2000);
|
||||
|
||||
|
||||
// Wait for network to be idle to ensure all content is loaded
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
|
||||
// Additional wait to ensure scrollbar rendering is stable
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
|
||||
Reference in new issue
Block a user