Skip to content

Commit

Permalink
Update omnichannel-livechat.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KevLehman authored Aug 26, 2024
1 parent 2b068c7 commit f911045
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ test.describe.serial('OC - Livechat - Visitors closing the room is disabled', ()
let poHomeOmnichannel: HomeOmnichannel;

test.beforeAll(async ({ api }) => {
const statusCode = (await api.post('/livechat/users/agent', { username: 'user1' })).status();
expect(statusCode).toBe(200);
await api.post('/livechat/users/agent', { username: 'user1' });
});

test.beforeAll(async ({ browser, api }) => {
Expand Down

0 comments on commit f911045

Please sign in to comment.