Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/contact-center/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"deploy:npm": "yarn npm publish"
},
"dependencies": {
"@webex/contact-center": "3.10.0-next.20",
"@webex/contact-center": "3.10.0-next.32",
"mobx": "6.13.5",
"typescript": "5.6.3"
},
Expand Down
12 changes: 6 additions & 6 deletions playwright/Utils/advancedTaskControlUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export async function consultOrTransfer(
action: 'consult' | 'transfer',
value: string
): Promise<void> {
await page.bringToFront();
await openConsultOrTransferMenu(page, action);
const popover = await getPopover(page);

Expand All @@ -139,14 +140,13 @@ export async function consultOrTransfer(

// ===== Internal helper functions =====
async function openConsultOrTransferMenu(page: Page, action: 'consult' | 'transfer'): Promise<void> {
await page.bringToFront();
await dismissOverlays(page);

if (action === 'consult') {
await dismissOverlays(page);
await page.getByTestId('call-control:consult').nth(1).click({timeout: AWAIT_TIMEOUT});
await page.getByTestId('call-control:consult').first().click({timeout: AWAIT_TIMEOUT});
} else {
await page
.getByRole('group', {name: 'Call Control with Call'})
.getByLabel('Transfer Call')
.click({timeout: AWAIT_TIMEOUT});
await page.getByTestId('call-control:transfer').first().click({timeout: AWAIT_TIMEOUT});
}
}

Expand Down
Loading
Loading