Show countries for delivery process forms. Refactor countries. #76

Merged
akrdzic merged 3 commits from forms-filtering into development 2018-11-27 13:08:23 +01:00
akrdzic commented 2018-11-27 01:12:47 +01:00 (Migrated from gitlab.com)

https://app.asana.com/0/697944902557002/744133144344709

Prepare:

IMPORTANT

Before running db updates (for local dev as well as deployment with docker) make sure to run

wp option update wiaas_db_version 20181106133553 from backend folder (RUN THIS BEFORE MERGING TO DEV AND RUNNING DEPLOYMENT ON STAGING AND PRODUCTION)

Run db updates
composer update-db

Make sure you have existing customer user with set delivery and billing adresses

Smoke test:

  1. Login as admin on backend

  2. Open countries for products

  3. Validate that new fields for 'code', 'currency' and 'vat' are present

  4. Validate that existing countries (Sweden, Denmark and Finland) have populated values in table for code, currency and vat

  5. Open Forms

  6. Validate that new columns for 'Country' and 'Actions' are present

  7. Validate that existing sample process has 'Sweden' for country

  8. Validate that only process has 'Change country' actions which leads to delivery process settings

  9. Validate that 'Workflow' action leads to workflow of corresponding form

  10. Login as customer to frontend

  11. Go to profile and open existing addresses to edit them

  12. Validate all existing addresses show correct country in dropdown when edited

  13. Go back to Forms page

  14. Copy sample process and change its country to Finland or Denmark

  15. Validate that new country is reflected in list

  16. Search forms with 'Finland'

  17. Validate that last delivery form is listed

  18. Search forms with 'Sweden'

  19. Validate that correct forms are listed

  20. Search forms with 'installation'

  21. Validate that action forms which contains that words in title are listed

  22. Create new country (Spain, currency: EUR)

  23. Add one simple product and one bundle for spain

  24. Order bundle and complete order

  25. Copy existing delivery process for sweden and change country to spain

  26. Validate that process is listed on order details page when assigning process

  27. Assign process to order and complete order

https://app.asana.com/0/697944902557002/744133144344709 Prepare: **IMPORTANT** Before running db updates (for local dev as well as deployment with docker) make sure to run `wp option update wiaas_db_version 20181106133553` from `backend` folder **(RUN THIS BEFORE MERGING TO DEV AND RUNNING DEPLOYMENT ON STAGING AND PRODUCTION)** Run db updates `composer update-db` Make sure you have existing customer user with set delivery and billing adresses Smoke test: 1. Login as admin on backend 2. Open countries for products 3. Validate that new fields for 'code', 'currency' and 'vat' are present 4. Validate that existing countries (Sweden, Denmark and Finland) have populated values in table for code, currency and vat 5. Open Forms 6. Validate that new columns for 'Country' and 'Actions' are present 7. Validate that existing sample process has 'Sweden' for country 8. Validate that only process has 'Change country' actions which leads to delivery process settings 9. Validate that 'Workflow' action leads to workflow of corresponding form 10. Login as customer to frontend 11. Go to profile and open existing addresses to edit them 12. Validate all existing addresses show correct country in dropdown when edited 13. Go back to Forms page 14. Copy sample process and change its country to Finland or Denmark 15. Validate that new country is reflected in list 16. Search forms with 'Finland' 17. Validate that last delivery form is listed 18. Search forms with 'Sweden' 19. Validate that correct forms are listed 20. Search forms with 'installation' 21. Validate that action forms which contains that words in title are listed 22. Create new country (Spain, currency: EUR) 23. Add one simple product and one bundle for spain 24. Order bundle and complete order 25. Copy existing delivery process for sweden and change country to spain 26. Validate that process is listed on order details page when assigning process 27. Assign process to order and complete order
akrdzic commented 2018-11-27 01:47:10 +01:00 (Migrated from gitlab.com)

added 1 commit

  • 95d16257 - Add timestamp script to composer

Compare with previous version

added 1 commit <ul><li>95d16257 - Add timestamp script to composer</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/76/diffs?diff_id=28155861&start_sha=798ad205347f350b4ef3aef4765e8df2303a8de0)
bilal.catic commented 2018-11-27 06:17:27 +01:00 (Migrated from gitlab.com)

Is this 'entries' unset required after if condition, or if condition is obsolete ?

Is this 'entries' unset required after if condition, or if condition is obsolete ?
akrdzic commented 2018-11-27 11:22:15 +01:00 (Migrated from gitlab.com)

added 1 commit

Compare with previous version

added 1 commit <ul><li>2b688e8a - Remove unused code</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/76/diffs?diff_id=28183233&start_sha=95d162578f226a57aa49064fdda022e5d3e60f6c)
akrdzic commented 2018-11-27 11:25:46 +01:00 (Migrated from gitlab.com)

resolved all discussions

resolved all discussions
bilal.catic commented 2018-11-27 13:08:23 +01:00 (Migrated from gitlab.com)

merged

merged
bilal.catic commented 2018-11-27 13:08:23 +01:00 (Migrated from gitlab.com)

mentioned in commit 3dbdb657c9

mentioned in commit 3dbdb657c94ad9f5f95dfc7d38b623f50aba03c8
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#76