Skip to content

Commit

Permalink
upd scenarios and upd methos in steps and utils new record refresh an…
Browse files Browse the repository at this point in the history
…d query with polling
  • Loading branch information
Lucaaccenture committed Sep 14, 2024
1 parent 946c65d commit 7c57613
Show file tree
Hide file tree
Showing 22 changed files with 360 additions and 100 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Feature: NM4 e MOD4 flows con PA New pagamento OK
| #psp# | #id_broker_psp# | #canale_ATTIVATO_PRESSO_PSP# | #password# | $activatePaymentNoticeResponse.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# POSITION_RECEIPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Feature: NM4 e MOD4 flows con PA OLD pagamento OK
| #psp# | #id_broker_psp# | #canale_ATTIVATO_PRESSO_PSP# | #password# | $activatePaymentNoticeResponse.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -530,6 +531,7 @@ Feature: NM4 e MOD4 flows con PA OLD pagamento OK
| forzaControlloSegno | 1 |
When EC sends SOAP nodoInviaRT to nodo-dei-pagamenti
Then check esito is OK of nodoInviaRT response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -874,6 +876,7 @@ Feature: NM4 e MOD4 flows con PA OLD pagamento OK
And job paInviaRt triggered after 10 seconds
And wait 5 seconds for expiration
Then check esito is OK of nodoInviaRPT response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Feature: NMU flows con pagamento KO
Then verify the HTTP status code of v2/closepayment response is 404
And check outcome is KO of v2/closepayment response
And check description is Unknown token of v2/closepayment response
And wait 1 seconds for expiration
# POSITION_PAYMENT_STATUS
###ACTIVATE 1
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
Expand Down Expand Up @@ -783,6 +784,7 @@ Feature: NMU flows con pagamento KO
When WISP sends rest POST v2/closepayment_json to nodo-dei-pagamenti
Then verify the HTTP status code of v2/closepayment response is 200
And check outcome is OK of v2/closepayment response
And wait 1 seconds for expiration
# POSITION_PAYMENT_STATUS
###ACTIVATE 1
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
Expand Down Expand Up @@ -1430,6 +1432,7 @@ Feature: NMU flows con pagamento KO
Then verify the HTTP status code of v2/closepayment response is 400
And check outcome is KO of v2/closepayment response
And check description is Unacceptable outcome when token has expired of v2/closepayment response
And wait 1 seconds for expiration
# POSITION_PAYMENT_STATUS
###ACTIVATE 1
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Feature: NMU flows con PA New retry a token scaduto
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is KO of sendPaymentOutcome response
And check description is Payment annullato o scaduto of sendPaymentOutcome response
And wait 1 seconds for expiration
# POSITION_ACTIVATE
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -527,6 +528,7 @@ Feature: NMU flows con PA New retry a token scaduto
| #psp# | #id_broker_psp# | #canale_versione_primitive_2# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcomeV2 to nodo-dei-pagamenti
Then check outcome is KO of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# POSITION_ACTIVATE
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -974,6 +976,7 @@ Feature: NMU flows con PA New retry a token scaduto
Then verify the HTTP status code of v2/closepayment response is 400
And check outcome is KO of v2/closepayment response
And check description is Unacceptable outcome when token has expired of v2/closepayment response
And wait 1 seconds for expiration
# POSITION_ACTIVATE
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Feature: NMU flows PA Old con pagamento KO
| rpt | $rptAttachment |
When EC sends SOAP nodoInviaRPT to nodo-dei-pagamenti
Then check esito is OK of nodoInviaRPT response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_IMMEDIATO_MULTIBENEFICIARIO# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -618,6 +619,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_IMMEDIATO_MULTIBENEFICIARIO# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -1151,6 +1153,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_IMMEDIATO_MULTIBENEFICIARIO# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -1685,6 +1688,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_IMMEDIATO_MULTIBENEFICIARIO# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -2221,6 +2225,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_versione_primitive_2# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcomeV2 to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -2765,6 +2770,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_versione_primitive_2# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcomeV2 to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -3298,6 +3304,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_versione_primitive_2# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcomeV2 to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -3830,6 +3837,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_versione_primitive_2# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcomeV2 to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -4366,6 +4374,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_IMMEDIATO_MULTIBENEFICIARIO# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -4908,6 +4917,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_versione_primitive_2# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcomeV2 to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -5455,6 +5465,7 @@ Feature: NMU flows PA Old con pagamento OK
Then verify the HTTP status code of v2/closepayment response is 200
And check outcome is OK of v2/closepayment response
And check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -6013,6 +6024,7 @@ Feature: NMU flows PA Old con pagamento OK
Then verify the HTTP status code of v2/closepayment response is 200
And check outcome is OK of v2/closepayment response
And check outcome is OK of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -6571,6 +6583,7 @@ Feature: NMU flows PA Old con pagamento OK
Then verify the HTTP status code of v2/closepayment response is 200
And check outcome is OK of v2/closepayment response
And check outcome is OK of sendPaymentOutcomeV2 response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -7129,6 +7142,7 @@ Feature: NMU flows PA Old con pagamento OK
Then verify the HTTP status code of v2/closepayment response is 200
And check outcome is OK of v2/closepayment response
And check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -7683,6 +7697,7 @@ Feature: NMU flows PA Old con pagamento OK
| #psp# | #id_broker_psp# | #canale_IMMEDIATO_MULTIBENEFICIARIO# | #password# | $activatePaymentNoticeV2Response.paymentToken | OK |
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is OK of sendPaymentOutcome response
And wait 1 seconds for expiration
# RPT
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Feature: NMU flows con PA Old sessione scaduta
Then verify the HTTP status code of v2/closepayment response is 400
And check outcome is KO of v2/closepayment response
And check description is Unacceptable outcome when token has expired of v2/closepayment response
And wait 1 seconds for expiration
# POSITION_ACTIVATE
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down Expand Up @@ -495,6 +496,7 @@ Feature: NMU flows con PA Old sessione scaduta
When PSP sends SOAP sendPaymentOutcome to nodo-dei-pagamenti
Then check outcome is KO of sendPaymentOutcome response
And check description is Payment annullato o scaduto of sendPaymentOutcome response
And wait 1 seconds for expiration
# POSITION_ACTIVATE
And generate list columns list_columns and dict fields values expected dict_fields_values_expected for query checks all values with datatable horizontal
| column | value |
Expand Down
Loading

0 comments on commit 7c57613

Please sign in to comment.