Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • opentalk/web-frontend
1 result
Show changes
Commits on Source (2)
......@@ -44,7 +44,7 @@ const joinMeetingRoomWithNGuests = async (
};
test.describe('MeetingRoom - adjust participant view', () => {
test.skip('TC_001_VideoRoom_ParticipantViewSettings_List', async ({ page, browserName }) => {
test('TC_001_VideoRoom_ParticipantViewSettings_List', async ({ page, browserName }) => {
test.skip(browserName === 'webkit');
// launch OpenTalk & start new (adhoc) meeting
......@@ -138,6 +138,19 @@ test.describe('MeetingRoom - adjust participant view', () => {
// check the speaker view and pin some users
const defaultPinnedParticipant = await meetingRoomPage.getPinnedParticipantNameInSpeakerView();
// speaker is in first place
await expect(
await page
.getByTestId('SpeakerView-Container')
.getByTestId('ParticipantWindow')
.first()
.getByTestId('nameTile')
.innerText()
).toBe(defaultPinnedParticipant);
// pinned user is shown first among all participant thumbs
await expect(
await page.getByTestId('ThumbsHolder').getByTestId('ParticipantWindow').nth(0).getByTestId('nameTile').innerText()
).toBe(defaultPinnedParticipant);
// pin some user (3rd participant)
const pinnedParticipant = await meetingRoomPage.pinNthParticipantInSpeakerView(3);
await expect(defaultPinnedParticipant).not.toBe(pinnedParticipant);
......
......@@ -165,7 +165,7 @@ export class MeetingRoomPage {
}
async getPinnedParticipantNameInSpeakerView(): Promise<string> {
const speakerViewContainer = await this.page.getByTestId('SpeakerWindow1'); //'SpeakerView-Container'
const speakerViewContainer = await this.page.getByTestId('SpeakerWindow1').getByTestId('ParticipantWindow'); //'SpeakerView-Container'
return await speakerViewContainer.getByTestId('nameTile').innerText();
}
......

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.