BinaryStudioAcademy / bsa-2023-towhub

1 stars 12 forks source link

Bug: the driver order (screen) disappears after refreshing the page #406

Open Iryna-Permiakova opened 11 months ago

Iryna-Permiakova commented 11 months ago

Preconditions: The driver logged in and confirmed the order

Steps to reproduce:

  1. Refresh the page

Expected result: The order screen with an active order is displayed on the dashboard

Actual result:

The orders screen disappears after refreshing the page.

Notes: Also in this ticket: When the driver clicks on the [Complete order] button, he is redirected to the history of orders "/orders" not "orders/{id}"

Attachments: https://www.loom.com/share/9c279b38f36c4174b4f6147724be9e6b?sid=9b93672c-26c3-4366-b065-d3d2ad2aaef9

Some14u commented 11 months ago

this bug is a special case of #408 which was resolved. refresh behaviour is being fixed there.

NOTE: The current task has additional requirements besides refresh issues.