Dashboard #82

Merged
akrdzic merged 8 commits from dashboard into development 2018-12-03 16:04:29 +01:00
akrdzic commented 2018-12-03 01:26:46 +01:00 (Migrated from gitlab.com)

Dashboard

Preparation
Execute composer update-db
Create two bundles and order them (they should have installations)

Order Central

  1. Login as admin
  2. Open backend dashboard as admin
  3. Validate Order Central and Next Actions are visible
  4. Validate new order is listed under Order central
  5. Click on order number link and validate order details is opened
  6. Open backend as commercial lead
  7. Validate Order Central and Next Actions are visible
  8. Validate new order is listed under Order central
  9. Click on order number link and validate order delivery flow is opened
  10. Add new comment on order and validate comment is visible from customer interface
  11. Login as supplier to backend
  12. Validate Order Central and Next Actions are visible
  13. Validate new order is listed under Order central for all suppliers except those for installation
  14. Click on order number link and validate order delivery flow is opened

Next actions

  1. Assign delivery process to order ('Approve configuration info', 'Procurement order', 'Wait for installation date', 'Installation', 'Customer acceptance)

  2. Go to dashboard and validate that 'Approve configuration info' is under next actions.

  3. Validate that 'Approve configuration info' link leads to action subworkflow, and order number link leads to order delivery process flow

  4. Login as commercial lead and click on order number link from dashboard or orders page, validate it leads to order delivery process flow

  5. Validate that delivery steps are listed (title and status) but not action details, also delivery dates are not editable and procurement order button not visible

  6. Login as supplier and click on order number link from dashboard or orders page, validate it leads to order delivery process flow

  7. Validate that delivery steps are listed (title and status) but not action details, also delivery dates are not editable and procurement order button not visible

  8. Complete step until 'Wait for installation date'

  9. Select installation for bundle if needed and validate order is present in 'Order Central' for installation supplier organization

  10. Go to 'Installation step'

  11. Validate that Installation completed confirmation action is present under Next Actions for installation supplier organization user

  12. Click on order number link and validate that steps are listed, but only action details for current step action is visible, because current user is
    assigned to that action

  13. Complete step

  14. Validate that order delivery flow for installation supplier organization now shows only steps

  15. Leave comment on order as supplier

  16. Complete remaining step while validating that only administrator can see delivery steps action details, edit delivery dates (until customer acceptance step is reached) and download procurement order.

  17. Validate that after clicking 'Complete' button on delivery process flow order status is changed to 'Complete'

  18. Try opening order delivery process with user from organization that has no access to order.
    You should get 'You don't have permission to view this order' message.

**Dashboard** Preparation Execute `composer update-db` Create two bundles and order them (they should have installations) Order Central 1. Login as admin 2. Open backend dashboard as admin 3. Validate *Order Central* and *Next Actions* are visible 4. Validate new order is listed under *Order central* 5. Click on order number link and validate order details is opened 6. Open backend as commercial lead 7. Validate *Order Central* and *Next Actions* are visible 8. Validate new order is listed under *Order central* 9. Click on order number link and validate order delivery flow is opened 10. Add new comment on order and validate comment is visible from customer interface 11. Login as supplier to backend 12. Validate *Order Central* and *Next Actions* are visible 13. Validate new order is listed under *Order central* for all suppliers except those for installation 14. Click on order number link and validate order delivery flow is opened Next actions 1. Assign delivery process to order ('Approve configuration info', 'Procurement order', 'Wait for installation date', 'Installation', 'Customer acceptance) 2. Go to dashboard and validate that 'Approve configuration info' is under next actions. 3. Validate that 'Approve configuration info' link leads to action subworkflow, and order number link leads to order delivery process flow 4. Login as commercial lead and click on order number link from dashboard or orders page, validate it leads to order delivery process flow 5. Validate that delivery steps are listed (title and status) but not action details, also delivery dates are not editable and procurement order button not visible 6. Login as supplier and click on order number link from dashboard or orders page, validate it leads to order delivery process flow 7. Validate that delivery steps are listed (title and status) but not action details, also delivery dates are not editable and procurement order button not visible 8. Complete step until 'Wait for installation date' 9. Select installation for bundle if needed and validate order is present in 'Order Central' for installation supplier organization 10. Go to 'Installation step' 11. Validate that *Installation completed confirmation* action is present under *Next Actions* for installation supplier organization user 12. Click on order number link and validate that steps are listed, but only action details for current step action is visible, because current user is assigned to that action 13. Complete step 14. Validate that order delivery flow for installation supplier organization now shows only steps 15. Leave comment on order as supplier 16. Complete remaining step while validating that only administrator can see delivery steps action details, edit delivery dates (until customer acceptance step is reached) and download procurement order. 17. Validate that after clicking 'Complete' button on delivery process flow order status is changed to 'Complete' 18. Try opening order delivery process with user from organization that has no access to order. You should get 'You don't have permission to view this order' message.
akrdzic commented 2018-12-03 01:59:34 +01:00 (Migrated from gitlab.com)

added 1 commit

  • 2c0e217a - Handle access to order delivery process page

Compare with previous version

added 1 commit <ul><li>2c0e217a - Handle access to order delivery process page</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/82/diffs?diff_id=28564622&start_sha=5d5ab875953954d39f22278501c9121cd61c40a2)
akrdzic commented 2018-12-03 12:02:42 +01:00 (Migrated from gitlab.com)

changed the description

changed the description
akrdzic commented 2018-12-03 12:18:11 +01:00 (Migrated from gitlab.com)

changed the description

changed the description
akrdzic commented 2018-12-03 12:20:53 +01:00 (Migrated from gitlab.com)

added 1 commit

  • c5f590c3 - Use custom capability to manage access to order delivery process

Compare with previous version

added 1 commit <ul><li>c5f590c3 - Use custom capability to manage access to order delivery process</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/82/diffs?diff_id=28592803&start_sha=2c0e217a49c9cc72c3a6a011e0e26a84aedbeb5b)
akrdzic commented 2018-12-03 13:13:11 +01:00 (Migrated from gitlab.com)

added 1 commit

Compare with previous version

added 1 commit <ul><li>8476529b - Add timeline</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/82/diffs?diff_id=28596986&start_sha=c5f590c3fe703d7fca63a6905400aeb46c99e115)
akrdzic commented 2018-12-03 16:03:01 +01:00 (Migrated from gitlab.com)

added 1 commit

Compare with previous version

added 1 commit <ul><li>103fc53c - display instructions if any</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/82/diffs?diff_id=28611213&start_sha=8476529bb4344a88d28aac43fbc2e5be7b15e1df)
akrdzic commented 2018-12-03 16:03:42 +01:00 (Migrated from gitlab.com)

added 4 commits

  • 103fc53c...d800f44b - 3 commits from branch development
  • 17d4dfe3 - Merge branch 'development' into dashboard

Compare with previous version

added 4 commits <ul><li>103fc53c...d800f44b - 3 commits from branch <code>development</code></li><li>17d4dfe3 - Merge branch &#39;development&#39; into dashboard</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/82/diffs?diff_id=28611281&start_sha=103fc53c1da93919111822dff89fce60e9075334)
bilal.catic commented 2018-12-03 16:04:29 +01:00 (Migrated from gitlab.com)

merged

merged
bilal.catic commented 2018-12-03 16:04:31 +01:00 (Migrated from gitlab.com)

mentioned in commit 89080780ed

mentioned in commit 89080780ed060c4ce717447a1678af40770440cb
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: senaduka/old-new-wiaas#82