1
0
mirror of https://github.com/IRPTeam/IRP.git synced 2026-04-24 03:53:25 +02:00
Files
IRP/features/External/ExportVerificationPosting.feature
Natalia Trukhachova fa8946b2f9 table wrapper
2023-06-16 19:05:22 +03:00

165 lines
6.6 KiB
Gherkin

#language: en
@ExportScenarios
@IgnoreOnCIMainBuild
@tree
Feature: export scenarios to verify that the document verification system has been triggered
Background:
Given I launch TestClient opening script or connect the existing one
Scenario: create a test SO for VerificationPosting
* Open form to create Sales Order
Given I open hyperlink "e1cib/list/Document.SalesOrder"
And I click the button named "FormCreate"
* Filling in the details of the document
And I click Select button of "Company" field
And I go to line in "List" table
| Description |
| Main Company |
And I select current line in "List" table
And I click Select button of "Partner" field
And I go to line in "List" table
| Description |
| Foxred |
And I select current line in "List" table
And I click Select button of "Legal name" field
And I activate "Description" field in "List" table
And I go to line in "List" table
| Description |
| Company Foxred |
And I select current line in "List" table
And I click Select button of "Partner term" field
And I go to line in "List" table
| Description |
| Basic Partner terms, TRY |
And I select current line in "List" table
And I click Select button of "Store" field
And I go to line in "List" table
| Description |
| Store 02 |
And I select current line in "List" table
* Select order status
And I select "Approved" exact value from "Status" drop-down list
* Filling in item tab
And in the table "ItemList" I click the button named "ItemListAdd"
And I click choice button of "Item" attribute in "ItemList" table
And I go to line in "List" table
| 'Description' |
| 'Dress' |
And I select current line in "List" table
And I activate "Item key" field in "ItemList" table
And I click choice button of "Item key" attribute in "ItemList" table
And I go to line in "List" table
| 'Item key' |
| 'M/White' |
And I select current line in "List" table
And I input "8,000" text in "Quantity" field of "ItemList" table
And I select "Stock" exact value from "Procurement method" drop-down list in "ItemList" table
And I finish line editing in "ItemList" table
And in the table "ItemList" I click the button named "ItemListAdd"
And I click choice button of "Item" attribute in "ItemList" table
And I go to line in "List" table
| 'Description' |
| 'Dress' |
And I select current line in "List" table
And I activate "Item key" field in "ItemList" table
And I click choice button of "Item key" attribute in "ItemList" table
And I go to line in "List" table
| 'Item key' |
| 'L/Green' |
And I select current line in "List" table
And I input "20,000" text in "Quantity" field of "ItemList" table
And I select "Stock" exact value from "Procurement method" drop-down list in "ItemList" table
And I finish line editing in "ItemList" table
And I click the button named "FormPost"
Scenario: create a test SO for VerificationPosting by package
* Open form to create Sales Order
Given I open hyperlink "e1cib/list/Document.SalesOrder"
And I click the button named "FormCreate"
* Filling in the details of the document
And I click Select button of "Company" field
And I go to line in "List" table
| Description |
| Main Company |
And I select current line in "List" table
And I click Select button of "Partner" field
And I go to line in "List" table
| Description |
| Foxred |
And I select current line in "List" table
And I click Select button of "Legal name" field
And I activate "Description" field in "List" table
And I go to line in "List" table
| Description |
| Company Foxred |
And I select current line in "List" table
And I click Select button of "Partner term" field
And I go to line in "List" table
| Description |
| Basic Partner terms, TRY |
And I select current line in "List" table
And I click Select button of "Store" field
And I go to line in "List" table
| Description |
| Store 02 |
And I select current line in "List" table
* Select order status
And I select "Approved" exact value from "Status" drop-down list
* Filling in item tab
And in the table "ItemList" I click the button named "ItemListAdd"
And I click choice button of "Item" attribute in "ItemList" table
And I go to line in "List" table
| 'Description' |
| 'Dress' |
And I select current line in "List" table
And I activate "Item key" field in "ItemList" table
And I click choice button of "Item key" attribute in "ItemList" table
And I go to line in "List" table
| 'Item key' |
| 'M/White' |
And I select current line in "List" table
And I input "15,000" text in "Quantity" field of "ItemList" table
And I select "Stock" exact value from "Procurement method" drop-down list in "ItemList" table
And I finish line editing in "ItemList" table
And in the table "ItemList" I click the button named "ItemListAdd"
And I click choice button of "Item" attribute in "ItemList" table
And I go to line in "List" table
| 'Description' |
| 'Boots' |
And I select current line in "List" table
And I activate "Item key" field in "ItemList" table
And I click choice button of "Item key" attribute in "ItemList" table
And I go to line in "List" table
| 'Item key' |
| 'Boots/S-8' |
And I select current line in "List" table
And I click choice button of "Unit" attribute in "ItemList" table
And I go to line in "List" table
| 'Description' |
| 'Boots (12 pcs)' |
And I select current line in "List" table
And I input "2,000" text in "Quantity" field of "ItemList" table
And I select "Stock" exact value from "Procurement method" drop-down list in "ItemList" table
And I finish line editing in "ItemList" table
And in the table "ItemList" I click the button named "ItemListAdd"
And I click choice button of "Item" attribute in "ItemList" table
And I go to line in "List" table
| 'Description' |
| 'Boots' |
And I select current line in "List" table
And I activate "Item key" field in "ItemList" table
And I click choice button of "Item key" attribute in "ItemList" table
And I go to line in "List" table
| 'Item key' |
| 'Boots/S-8' |
And I select current line in "List" table
And I input "50,000" text in "Quantity" field of "ItemList" table
And I select "Stock" exact value from "Procurement method" drop-down list in "ItemList" table
And I finish line editing in "ItemList" table
And I click the button named "FormPost"