diff --git a/apps/meteor/tests/e2e/omnichannel/omnichannel-manager-role.spec.ts b/apps/meteor/tests/e2e/omnichannel/omnichannel-manager-role.spec.ts index 84efdb350caf..38dcee88cf5f 100644 --- a/apps/meteor/tests/e2e/omnichannel/omnichannel-manager-role.spec.ts +++ b/apps/meteor/tests/e2e/omnichannel/omnichannel-manager-role.spec.ts @@ -157,7 +157,7 @@ test.describe('OC - Manager Role', () => { await poOmnichannel.content.inputModalClosingComment.type('any_comment'); await poOmnichannel.content.btnModalConfirm.click(); await expect(poOmnichannel.toastSuccess).toBeVisible(); - await poOmnichannel.content.btnReturn.click(); + await page.waitForURL('/omnichannel/current'); }); await test.step('expect to be able to remove closed rooms', async () => {