[LEBV-299] Show an error message if something goes wrong entering in a queue
🎯 Summary
When something wrong happens while entering on the waiting queue, the application should redirect the user to the step 3 with the video-call disabled and a an error message.
🧪 How to test
-
Deploy de backend using the following command:
docker-compose -f docker-compose-only-dbs.yml up. -
Open the lebara-agent-api project with an editor (i.e: Visual Studio Code) and modify the class com/lebara/videoident/agentapi/feing/mock/CustomerProfileCheckServiceImplMock.java. Change the line 17 (return true) to return false.
-
Start the customer-api (git pull from develop)
Execute ./gradlew :lebara-video-customer-api:bootRun on the command line in the lebara-video-custemer-api/ folder.
- Start the agent-api
Execute ./gradlew :lebara-video-agent-api:bootRun -Dspring.profiles.active=mock on the command line in the lebara-video-agent-api/ folder.
- Go to step four in the customer front-end and check that if checkcustomerprofile or enqueuing error happens, the user is redirected to the third step with the video-call button disabled and the error message.
🧠 Considerations
- If you want to skip steps 1, 2, 3 and 4, wait until 20:00 (the Lebara services in develop usually fails at 20:00) and just run the command:
docker-compose -f docker-compose-backend.yml upand go to step 5.
🧐 Checklist
- Changes work in Google Chrome
- Changes work in Safari
- UI is responsive
