Skip to content

Commit a412682

Browse files
committed
test
1 parent df30cf8 commit a412682

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/react-composites/tests/browser/call/hermetic/RoomsCallScreen.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,12 @@ test.describe('Rooms CallScreen tests for different roles', async () => {
6464

6565
test('Screen Share is disabled for Attendee', async ({ page, serverUrl }, testInfo) => {
6666
const initialState = defaultMockCallAdapterState([], 'Attendee', true);
67+
if (initialState.call) {
68+
initialState.call.state = 'Connected';
69+
}
6770
await page.goto(buildUrlWithMockAdapter(serverUrl, { ...initialState }));
6871
await waitForSelector(page, dataUiId(IDS.videoGallery));
69-
expect(await stableScreenshot(page)).toMatchSnapshot('rooms-call-screen-attendee.png');
72+
expect(await stableScreenshot(page)).toMatchSnapshot('rooms-call-screen-attendee1.png');
7073
if (isTestProfileMobile(testInfo)) {
7174
await pageClick(page, dataUiId(IDS.moreButton));
7275
expect(await stableScreenshot(page)).toMatchSnapshot('rooms-call-screen-attendee-click-more-button.png');

0 commit comments

Comments
 (0)