Skip to content

Commit b08c094

Browse files
[Gallery layouts] more gallery cc fixes for beta release (#3656)
* update CC for tests * Change files * Duplicate change files for beta release --------- Co-authored-by: Patrick Latter <73612854+palatter@users.noreply.github.com>
1 parent 47a057a commit b08c094

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "fix",
4+
"workstream": "Gallery layouts",
5+
"comment": "update CC for tests",
6+
"packageName": "@azure/communication-react",
7+
"email": "94866715+dmceachernmsft@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "fix",
4+
"workstream": "Gallery layouts",
5+
"comment": "update CC for tests",
6+
"packageName": "@azure/communication-react",
7+
"email": "94866715+dmceachernmsft@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,11 @@ test.describe('VideoGallery tests', async () => {
168168
expect(await stableScreenshot(page)).toMatchSnapshot('gallery-controls-open.png');
169169
await page.locator('button:has-text("Speaker")').click();
170170
expect(await stableScreenshot(page)).toMatchSnapshot('speaker-layout.png');
171+
/* @conditional-compile-remove(gallery-layout-composite) */
171172
await pageClick(page, dataUiId(IDS.moreButton));
173+
/* @conditional-compile-remove(gallery-layout-composite) */
172174
await page.locator('button:has-text("View")').click();
175+
/* @conditional-compile-remove(gallery-layout-composite) */
173176
await page.locator('button:has-text("Gallery view")').click();
174177
expect(await stableScreenshot(page)).toMatchSnapshot('default-layout.png');
175178
await pageClick(page, dataUiId(IDS.moreButton));
@@ -255,6 +258,7 @@ test.describe('VideoGallery tests', async () => {
255258

256259
await waitForSelector(page, dataUiId(IDS.moreButton));
257260
await pageClick(page, dataUiId(IDS.moreButton));
261+
await page.locator('span:has-text("View")');
258262
await page.locator('span:has-text("View")').click();
259263
expect(await stableScreenshot(page)).toMatchSnapshot('gallery-options-mobile.png');
260264
});

0 commit comments

Comments
 (0)