Skip to content

Commit 26cea71

Browse files
Fix chat composite snapshot (#5667)
1 parent 44e6e13 commit 26cea71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

samples/tests/StaticHtmlComposites/CompositeJavascriptTest.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ test.describe('JS Bundle Test', () => {
4040

4141
// Flakey test fix: wait for participant list to have finished loading
4242
if (isBetaBuild) {
43-
await page.waitForSelector('[data-ui-id=participant-item]');
43+
const selector = '[data-ui-id="participant-item"]';
44+
const component = page.locator(selector);
45+
await component.waitFor({ state: 'visible' });
4446
}
4547

4648
await page.addScriptTag({

0 commit comments

Comments
 (0)