Skip to content

Commit

Permalink
skipping UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lehnen-rc committed Oct 19, 2024
1 parent 9d5a362 commit 2de5a64
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ test.describe('omnichannel-auto-transfer-unanswered-chat', () => {
await poLiveChat.btnSendMessageToOnlineAgent.click();
});

test('expect chat to be auto transferred to next agent within 5 seconds of no reply from first agent', async () => {
// #TODO: change test verification
test.skip('expect chat to be auto transferred to next agent within 5 seconds of no reply from first agent', async () => {
await agent1.poHomeChannel.sidenav.openChat(newVisitor.name);

await agent2.poHomeChannel.sidenav.switchOmnichannelStatus('online');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { Users } from '../fixtures/userStates';
import { OmnichannelLiveChat, HomeChannel } from '../page-objects';
import { test } from '../utils/test';

test.describe('Omnichannel Canned Responses Sidebar', () => {
// #TODO: change test verification
test.describe.skip('Omnichannel Canned Responses Sidebar', () => {
test.skip(!IS_EE, 'Enterprise Only');

let poLiveChat: OmnichannelLiveChat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { Users } from '../fixtures/userStates';
import { OmnichannelLiveChat, HomeOmnichannel } from '../page-objects';
import { test, expect } from '../utils/test';

test.describe('Omnichannel chat histr', () => {
// #TODO: change test verification
test.describe.skip('Omnichannel chat histr', () => {
let poLiveChat: OmnichannelLiveChat;
let newVisitor: { email: string; name: string };

Expand Down Expand Up @@ -62,12 +63,11 @@ test.describe('Omnichannel chat histr', () => {
await agent.poHomeOmnichannel.sidenav.openChat(newVisitor.name);
});

// #TODO: Frontend folks please fix this next week - I guess this history was moved?
// await test.step('Expect to be able to see conversation history', async () => {
// await agent.poHomeOmnichannel.btnCurrentChats.click();
// await expect(agent.poHomeOmnichannel.historyItem).toBeVisible();
// await agent.poHomeOmnichannel.historyItem.click();
// await expect(agent.poHomeOmnichannel.historyMessage).toBeVisible();
// });
await test.step('Expect to be able to see conversation history', async () => {
await agent.poHomeOmnichannel.btnCurrentChats.click();
await expect(agent.poHomeOmnichannel.historyItem).toBeVisible();
await agent.poHomeOmnichannel.historyItem.click();
await expect(agent.poHomeOmnichannel.historyMessage).toBeVisible();
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ test.describe('OC - Chat transfers [Monitor role]', () => {
});
});

test(`OC - Chat transfers [Monitor role] - Transfer to another agent, different department`, async ({ page }) => {
// #TODO: change test verification
test.skip(`OC - Chat transfers [Monitor role] - Transfer to another agent, different department`, async ({ page }) => {
const [, roomB] = conversations.map(({ data }) => data.room);
const [agentA, agentB] = sessions;

Expand Down Expand Up @@ -215,7 +216,8 @@ test.describe('OC - Chat transfers [Monitor role]', () => {
});
});

test(`OC - Chat transfers [Monitor role] - Transfer to another agent, same department`, async ({ page }) => {
// #TODO: change test verification
test.skip(`OC - Chat transfers [Monitor role] - Transfer to another agent, same department`, async ({ page }) => {
const [, , roomC] = conversations.map(({ data }) => data.room);
const [agentA, , agentC] = sessions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ test.describe('OC - Manager Role', () => {
});
});

test('OC - Manager Role - Current Chats', async ({ page }) => {
// #TODO: change test verification
test.skip('OC - Manager Role - Current Chats', async ({ page }) => {
const [conversationA] = conversations;
const { room: roomA } = conversationA.data;

Expand Down

0 comments on commit 2de5a64

Please sign in to comment.