Commit 5f3fecc1019c20f7c0fb7b5cfb3b9b0dda02082c
1 parent
bd8e784a
Set amountPaid and modify amountPaid.amount field value
Showing
3 changed files
with
33 additions
and
6 deletions
| @@ -530,14 +530,14 @@ Resource resource.robot | @@ -530,14 +530,14 @@ Resource resource.robot | ||
| 530 | Remove File ${file_path} | 530 | Remove File ${file_path} |
| 531 | 531 | ||
| 532 | 532 | ||
| 533 | -Закінчити договір | 533 | +Вказати дійсно оплачену суму |
| 534 | ${amount}= Get variable value ${USERS.users['${tender_owner}'].contract_data.data.value.amount} | 534 | ${amount}= Get variable value ${USERS.users['${tender_owner}'].contract_data.data.value.amount} |
| 535 | - ${data}= Create Dictionary status=terminated | ||
| 536 | ${amountPaid}= Create Dictionary amount=${amount} valueAddedTaxIncluded=${True} currency=UAH | 535 | ${amountPaid}= Create Dictionary amount=${amount} valueAddedTaxIncluded=${True} currency=UAH |
| 536 | + ${data}= Create Dictionary amountPaid=${amountPaid} | ||
| 537 | ${data}= Create Dictionary data=${data} | 537 | ${data}= Create Dictionary data=${data} |
| 538 | - Set to dictionary ${data.data} amountPaid=${amountPaid} | ||
| 539 | Set to dictionary ${USERS.users['${tender_owner}']} terminating_data=${data} | 538 | Set to dictionary ${USERS.users['${tender_owner}']} terminating_data=${data} |
| 540 | - Run As ${tender_owner} Завершити договір ${CONTRACT_UAID} ${data} | 539 | + Run As ${tender_owner} Внести зміни в договір ${CONTRACT_UAID} ${data} |
| 540 | + | ||
| 541 | 541 | ||
| 542 | ############################################################################################## | 542 | ############################################################################################## |
| 543 | # QUESTIONS | 543 | # QUESTIONS |
| @@ -1391,7 +1391,7 @@ Library openprocurement_client.utils | @@ -1391,7 +1391,7 @@ Library openprocurement_client.utils | ||
| 1391 | Log ${reply} | 1391 | Log ${reply} |
| 1392 | 1392 | ||
| 1393 | 1393 | ||
| 1394 | -Завершити договір | 1394 | +Внести зміни в договір |
| 1395 | [Arguments] ${username} ${contract_uaid} ${data} | 1395 | [Arguments] ${username} ${contract_uaid} ${data} |
| 1396 | ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid} | 1396 | ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid} |
| 1397 | ${reply}= Call Method ${USERS.users['${username}'].contracting_client} patch_contract ${internalid} ${USERS.users['${username}'].contract_access_token} ${data} | 1397 | ${reply}= Call Method ${USERS.users['${username}'].contracting_client} patch_contract ${internalid} ${USERS.users['${username}'].contract_access_token} ${data} |
| @@ -362,9 +362,36 @@ Suite Teardown Test Suite Teardown | @@ -362,9 +362,36 @@ Suite Teardown Test Suite Teardown | ||
| 362 | ... terminationDetails | 362 | ... terminationDetails |
| 363 | 363 | ||
| 364 | 364 | ||
| 365 | +Можливість вказати дійсно оплачену суму | ||
| 366 | + [Tags] ${USERS.users['${tender_owner}'].broker}: Редагування договору | ||
| 367 | + ... tender_owner | ||
| 368 | + ... ${USERS.users['${tender_owner}'].broker} | ||
| 369 | + ... amount_paid | ||
| 370 | + [Teardown] Оновити LAST_MODIFICATION_DATE | ||
| 371 | + Вказати дійсно оплачену суму | ||
| 372 | + | ||
| 373 | + | ||
| 374 | +Можливість редагувати обсяг дійсно оплаченої суми | ||
| 375 | + [Tags] ${USERS.users['${tender_owner}'].broker}: Редагування договору | ||
| 365 | ... tender_owner | 376 | ... tender_owner |
| 377 | + ... ${USERS.users['${tender_owner}'].broker} | ||
| 378 | + ... amount_paid | ||
| 379 | + [Teardown] Оновити LAST_MODIFICATION_DATE | ||
| 380 | + ${amountPaid.amount}= create_fake_value_amount | ||
| 381 | + Set to dictionary ${USERS.users['${tender_owner}']} new_amountPaid_amount=${amountPaid.amount} | ||
| 382 | + Run As ${tender_owner} Редагувати поле договору ${CONTRACT_UAID} amountPaid.amount ${amountPaid.amount} | ||
| 383 | + | ||
| 384 | + | ||
| 385 | +Відображення відредагованого обсягу дійсно оплаченої суми | ||
| 386 | + [Tags] ${USERS.users['${viewer}'].broker}: Редагування договору | ||
| 387 | + ... viewer | ||
| 366 | ... ${USERS.users['${viewer}'].broker} | 388 | ... ${USERS.users['${viewer}'].broker} |
| 367 | - Звірити відображення поля amountPaid.amount договору із ${USERS.users['${tender_owner}']['terminating_data'].data.amountPaid.amount} для користувача ${tender_owner} | 389 | + ... amount_paid |
| 390 | + Звірити поле договору із значенням | ||
| 391 | + ... ${viewer} | ||
| 392 | + ... ${CONTRACT_UAID} | ||
| 393 | + ... ${USERS.users['${tender_owner}'].new_amountPaid_amount} | ||
| 394 | + ... amountPaid.amount | ||
| 368 | 395 | ||
| 369 | 396 | ||
| 370 | Відображення врахованого ПДВ в дійсно оплачену суму в договорі | 397 | Відображення врахованого ПДВ в дійсно оплачену суму в договорі |
Please
register
or
login
to post a comment