@one-db @weasel @weasel-one-session
Feature: correct operation of the menu and immediate linked pages
  As an end-user, I want to be able to navigate the menu and open
  the screens from the available links. If my authorizations
  don't allow a specific screen, I expect the links not to be in
  the menu.



Background:
  Given a standard test company
  Given a logged in admin


#Scenario Outline: Navigate to menu and open tab
#   When I navigate the menu and select the item at "<path>"
#   And I select the "<tab>" tab
#   Then I should see the <screen> tab
#  Examples:
#    | path                                      | screen                   | tab           |
#    | Contacts > Add Contact                    | contact creation         | Company       |
##    | Contacts > Add Contact                    | contact creation         | Person        |
##    | General Journal > Year End                | year-end                 | Close Year    |
##    | General Journal > Year End                | year-end                 | Close Period  |
##    | General Journal > Year End                | year-end                 | Ro-open Books |


Scenario Outline: Navigate to menu "<path>" and open screen "<screen>"
   When I navigate the menu and select the item at "<path>"
   Then I should see the <screen> screen

  Examples:
    | path                                       | screen                   |
    | AP > Add Transaction                       | AP transaction entry     |
    | AP > Debit Invoice                         | AP debit invoice entry   |
    | AP > Debit Note                            | AP note entry            |

  @wip
  Examples:
    | path                                       | screen                   |
    | AP > Import Batch                          | Batch import             |
    | AP > Reports > AP Aging                    |                          |
    | AP > Reports > Customer History            |                          |
    | AP > Reports > Outstanding                 |                          |
    | AP > Reports > Vendor History              |                          |

  Examples:
    | path                                       | screen                   |
    | AP > Search                                | AP search                |
    | AP > Vendor Invoice                        | AP invoice entry         |

  @wip
  Examples:
    | path                                       | screen                   |
    | AP > Vouchers > AP Voucher                 |                          |
    | AP > Vouchers > Import AP Batch            |                          |
    | AP > Vouchers > Invoice Vouchers           |                          |
    | AR > Add Return                            | AR returns               |

  Examples:
    | path                                       | screen                   |
    | AR > Add Transaction                       | AR transaction entry     |
    | AR > Credit Invoice                        | AR credit invoice entry  |
    | AR > Credit Note                           | AR note entry            |

  @wip
  Examples:
    | path                                       | screen                   |
    | AR > Import Batch                          | Batch import             |
    | AR > Reports > AR Aging                    |                          |
  Examples:
    | path                                       | screen                   |
    | AR > Reports > Customer History            | Purchase History Search  |

  @wip
  Examples:
    | path                                       | screen                   |
    | AR > Reports > Outstanding                 |                          |
  Examples:
    | path                                       | screen                   |
    | AR > Sales Invoice                         | AR invoice entry         |
    | AR > Search                                | AR search                |

  @wip
  Examples:
    | path                                       | screen                   |
    | AR > Vouchers > AR Voucher                 |                          |
    | AR > Vouchers > Import AR Batch            |                          |
    | AR > Vouchers > Invoice Vouchers           |                          |
  Examples:
    | path                                       | screen                   |
    | Budgets > Add Budget                       | Budget                   |
    | Budgets > Search                           | Budget search            |
    | Cash > Payment                             | Single Payment Vendor Selection   |
    | Cash > Receipt                             | Single Payment Customer Selection |

  @wip
  Examples:
    | path                                       | screen                   |
    | Cash > Reconciliation                      |                          |
    | Cash > Reports                             |                          |
    | Cash > Reports > Payments                  |                          |
    | Cash > Reports > Receipts                  |                          |
  Examples:
    | path                                       | screen                   |
    | Cash > Reports > Reconciliation            | Search Reconciliation Reports |

  @wip
  Examples:
    | path                                       | screen                   |
    | Cash > Transfer                            |                          |
    | Cash > Use AR Overpayment                  |                          |
    | Cash > Use Overpayment                     |                          |
    | Cash > Vouchers                            |                          |
    | Cash > Vouchers > Payments                 |                          |
    | Cash > Vouchers > Receipts                 |                          |
    | Cash > Vouchers > Reverse AR Overpay       |                          |
    | Cash > Vouchers > Reverse Overpay          |                          |
    | Cash > Vouchers > Reverse Payment          |                          |
    | Cash > Vouchers > Reverse Receipts         |                          |
  Examples:
    | path                                       | screen                   |
    | Contacts > Search                          | Contact Search           |

  Examples:
    | path                                        | screen                   |
    | Fixed Assets > Asset Classes > Add Class    | asset class edit         |
    | Fixed Assets > Asset Classes > List Classes | asset class search       |
    | Fixed Assets > Assets > Add Assets          | asset edit               |

  @wip
  Examples:
    | path                                             | screen |
    | Fixed Assets > Assets > Depreciate          | asset depreciation start |
    | Fixed Assets > Assets > Disposal                 |        |
    | Fixed Assets > Assets > Import                   |        |
    | Fixed Assets > Assets > Reports > Depreciation   |        |
    | Fixed Assets > Assets > Reports > Disposal       |        |
    | Fixed Assets > Assets > Reports > Net Book Value |        |

  Examples:
    | path                                  | screen            |
    | Fixed Assets > Assets > Search Assets | asset search      |
    | General Journal > Chart of Accounts   | Chart of Accounts |

  @wip
  Examples:
    | path                                       | screen                   |
    | General Journal > Import                   |                          |
    | General Journal > Import Chart             |                          |
  Examples:
    | path                              | screen         |
    | General Journal > Journal Entry   | GL entry       |
    | General Journal > Search          | GL search      |
    | Goods and Services > Add Assembly | assembly entry |


  @wip
  Examples:
    | path                                       | screen                   |
    | Goods and Services > Add Group             |                          |
  Examples:
    | path                                       | screen                   |
    | Goods and Services > Add Overhead          | overhead entry           |
    | Goods and Services > Add Part              | part entry               |

  @wip
  Examples:
    | path                                       | screen                   |
    | Goods and Services > Add Pricegroup        |                          |
  Examples:
    | path                                       | screen                   |
    | Goods and Services > Add Service           | service entry            |

  @wip
  Examples:
    | path                                       | screen                   |
    | Goods and Services > Enter Inventory       | Enter Inventory          |
    | Goods and Services > Import > Goods        |                          |
    | Goods and Services > Import > Services     |                          |
    | Goods and Services > Import > Overhead     |                          |
    | Goods and Services > Import > Inventory    |                          |
    | Goods and Services > Reports               |                          |
    | Goods and Services > Reports > Inventory Activity |                   |
    | Goods and Services > Search                | search for goods & services |
    | Goods and Services > Search Groups         |                          |
    | Goods and Services > Search Pricegroups    |                          |
    | Goods and Services > Stock Assembly        |                          |
    | Goods and Services > Translations          |                          |
    | Goods and Services > Translations > Description |                     |
    | Goods and Services > Translations > Partsgroup |                      |
    | HR > Employees > Add Employee              |                          |
  Examples:
    | path                                       | screen                   |
    | HR > Employees > Search                    | Employee Search          |

  @wip
  Examples:
    | path                                       | screen                   |
    | Logout                                     |                          |
    | New Window                                 |                          |
  Examples:
    | path                                       | screen                   |
    | Order Entry > Combine > Purchase Orders    | combine purchase order   |
    | Order Entry > Combine > Sales Orders       | combine sales order      |
    | Order Entry > Generate > Purchase Orders   | generate purchase order  |
    | Order Entry > Generate > Sales Orders      | generate sales order     |
    | Order Entry > Purchase Order               | Purchase order entry     |
    | Order Entry > Reports > Purchase Orders    | Purchase order search    |
    | Order Entry > Reports > Sales Orders       | Sales order search       |
    | Order Entry > Sales Order                  | Sales order entry        |

  @wip
  Examples:
    | path                                       | screen                   |
    | Quotations > Quotation                     |                          |
  Examples:
    | path                                       | screen                   |
    | Preferences                                | Preferences              |
    | Quotations > Reports > Quotations          | Quotation search         |
    | Quotations > Reports > RFQs                | RFQ search               |

  @wip
  Examples:
    | path                                       | screen                   |
    | Quotations > RFQ                           |                          |
    | Recurring Transactions                     |                          |
  Examples:
    | path                                       | screen                   |
    | Reports > Balance Sheet                    | generate balance sheet   |

  @wip
  Examples:
    | path                                       | screen                   |
    | Reports > Income Statement                 |                          |
    | Reports > Inventory and COGS               |                          |
    | Reports > Trial Balance                    |                          |
    | Shipping > Receive                         |                          |
    | Shipping > Ship                            |                          |
    | Shipping > Transfer                        |                          |
  Examples:
    | path                                       | screen                   |
    | System > Currency > Edit currencies        | Edit currencies          |
    | System > Currency > Edit rate types        | Edit rate types          |
    | System > Currency > Edit rates             | Edit rates               |
    | System > Defaults                          | system defaults          |

  @wip
  Examples:
    | path                                       | screen                   |
    | System > GIFI > Add GIFI                   |                          |
    | System > GIFI > Import GIFI                |                          |
    | System > GIFI > List GIFI                  |                          |
  Examples:
    | path                                       | screen                   |
    | System > Templates                         | system templates         |
    | System > Files                             | system files             |

  @wip
  Examples:
    | path                                       | screen                   |
    | System > Language > Add Language           |                          |
    | System > Language > List Languages         |                          |
    | System > Reporting Units                   |                          |
    | System > Sequences                         |                          |
    | System > Sessions                          |                          |
    | System > SIC > Add SIC                     |                          |
    | System > SIC > Import                      |                          |
    | System > SIC > List SIC                    |                          |
  Examples:
    | path                                       | screen                   |
    | System > Taxes                             | system taxes             |

  @wip
  Examples:
    | path                                        | screen                                         |
    | System > Type of Business > Add Business    |                                                |
    | System > Type of Business > List Businesses |                                                |
    | System > Warehouses > Add Warehouse         |                                                |
    | System > Warehouses > List Warehouse        |                                                |
    | Tax Forms > Add Tax Form                    |                                                |
    | Tax Forms > List Tax Forms                  |                                                |
    | Tax Forms > Reports                         |                                                |
    | Timecards > Add Timecard                    |                                                |

  Examples:
    | path                                        | screen                                         |
    | Timecards > Generate > Sales Orders         | timecard order generation                      |

  @wip
  Examples:
    | path                                        | screen                                         |
    | Timecards > Import                          |                                                |
    | Timecards > Search                          |                                                |
    | Timecards > Translations > Description      |                                                |
    | Transaction Approval > Batches              |                                                |
    | Transaction Approval > Drafts               |                                                |
    | Transaction Approval > Inventory            | unapproved inventory adjustments search screen |
    | Transaction Approval > Reconciliation       |                                                |
    | Transaction Templates                       |                                                |
