You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to free up an occupied table when the guests leave
so that I can seat new guests at that table.
Acceptance Criteria
The /dashboard page will
Display a "Finish" button on each occupied table.
the "Finish" button must have a data-table-id-finish={table.table_id} attribute, so it can be found by the tests.
Clicking the "Finish" button will display the following confirmation: "Is this table ready to seat new guests? This cannot be undone." If the user selects "Ok" the system will: - Send a DELETE request to /tables/:table_id/seat in order to remove the table assignment. The tests do not check the body returned by this request. - The server should return 400 if the table is not occupied. - Refresh the list of tables to show that the table is now available.
Clicking the "Cancel" makes no changes.
Hint The end-to-end test waits for the tables list to be refreshed before checking the free/occupied status of the table, so be sure to send a GET request to /tables to refresh the tables list.
No description provided.
The text was updated successfully, but these errors were encountered: