Cloudkibo / KiboPush

0 stars 1 forks source link

Showing wrong agent name while sending message real time in chat UI #10039

Open arveenkumar55 opened 3 years ago

arveenkumar55 commented 3 years ago

Describe the bug When I try to send a message as an agent to subscriber it is showing the wrong agent name in session real-time. If we refresh the page it is working fine also I am getting a correct agent name on messenger.

To Reproduce Steps to reproduce the behavior:

  1. log in as an agent
  2. click on the session
  3. send a message and it will display the wrong agent name in a live chat session.
  4. See an error

Expected behavior It should display the correct agent name while sending messages in real-time in Livechat.

Front End or Backend End issue? Frontend How was the issue found the automated test or manual test? Manual

When was these issues last working? New testcases(updated in testplan)

Screenshots When I try to send a message as an agent but still it is displayed as buyer name test

After refreshing the page it is fine. Screenshot from 2020-10-06 12-58-35

Paper Trail logs There were no paper trails logs here

Browser logs There were no browser logs here

Sentry Links and Screenshots There were no sentry links here

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

arveenkumar55 commented 3 years ago

This is only on staging.

saniasiddiqui commented 3 years ago

I couldn't reproduce this on staging. Will discuss with @arveenkumar55