diff options
| author | Joseph Caburnay <jcb@odoo.com> | 2020-09-03 09:21:16 +0000 |
|---|---|---|
| committer | Joseph Caburnay <jcb@odoo.com> | 2020-09-03 09:26:55 +0000 |
| commit | 0a9f6f81525b12e6e3b30eb6d875c8f36db509ee (patch) | |
| tree | 4177ef3e5ecaa271a88a8a2e895f477e61365a42 /addons | |
| parent | fa545eb660ec63663eaa7ddd456f2ea20c113cef (diff) | |
[FIX] pos_restaurant: check product screen, not floor screen
After clicking a table, ProductScreen should show, not FloorScreen.
closes odoo/odoo#57009
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js b/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js index 0f80cd95b55..51248347f03 100644 --- a/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js +++ b/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js @@ -17,8 +17,7 @@ odoo.define('pos_restaurant.tour.TicketScreen', function (require) { // Deleting the last order in the table brings back to floorscreen FloorScreen.do.clickTable('T4'); - // Clicking ticket button without checking if floor screen is shown causes an error - FloorScreen.check.isShown(); + ProductScreen.check.isShown(); Chrome.do.clickTicketButton(); TicketScreen.check.nthRowContains(2, '-0001'); TicketScreen.do.deleteOrder('-0001'); |
