COMP3122-2324-Project / Simpsyber

0 stars 0 forks source link

[DEFECT]: Unexpected Funnel Icon Displayed After Refreshing Staff Status in Test Automation #2

Open ivanLeung-18 opened 9 months ago

ivanLeung-18 commented 9 months ago

In test automation, staff members are assigned to execute automated test cases. When you select a staff member and click the button to refresh their status, a funnel icon appears for the selected staff member. It may be an bug since this funnel icon indicates that the staff member is already assigned to a task, but I doesn't click the OK button to assign the task to the selected staff.

In my expectation, If we select the staff and click the refresh staff status, the system would not have funnel icon in my selected staff.

Updated: How to reproduce the bug:

  1. in Post-it note or Test automation, we select one user and click refresh staff status, the staff buttom would be disabled and show Funnel icon in the staff.

Tested Browser: Safari 16.6(18615.3.12.11.2)

System OS: macOS Ventura

https://github.com/COMP3122-2324-Project/Simpsyber/assets/156775094/79923113-26b3-4ac5-b7f5-5779297c0dd6

22029144d commented 9 months ago

the button should not be disabled because the staff is not working https://github.com/COMP3122-2324-Project/Simpsyber/assets/157147838/42e2925e-b405-46b5-b741-6cd26d8fa357

ivanLeung-18 commented 9 months ago

the button should not be disabled because the staff is not working https://github.com/COMP3122-2324-Project/Simpsyber/assets/157147838/42e2925e-b405-46b5-b741-6cd26d8fa357

https://github.com/COMP3122-2324-Project/Simpsyber/assets/156775094/07f78b66-1510-4e5b-a3a7-f289b12e54a3

@22029144d

I agree your idea since the staff also would be disabled when a funnel icon appears for the selected staff member, and your video show that Not only does the Test Automation system have this problem, but the Post-it note of the task also has the same issue. and the staff buttom would be also disabled.

ghost commented 9 months ago

I think this defect is somehow crucial since, if you do need to use the refresh button, you probably have the timer running and this defect is going to interrupt you.

This should be fixed as soon as possible as it can undermine the gaming experience.

gg11365 commented 8 months ago

I have a similar problem to yours where it’s not just about pressing the refresh button. I wanted to assign a task to a staff member. I selected a staff member from the list, but then I changed my mind and clicked the X button to deselect them. However, I suddenly discovered that the staff member’s status was marked as Occupied, even though I hadn’t assigned them any tasks. This error caused me to lose a staff member in the game.

See the blow demo video:

https://github.com/COMP3122-2324-Project/Simpsyber/assets/85055782/5452e338-d37a-4212-9cfd-54924eb77033