Skip to content

Commit

Permalink
deploy: c058e69
Browse files Browse the repository at this point in the history
  • Loading branch information
TommasoLencioni committed Jan 21, 2025
1 parent 63be639 commit d54b3cb
Show file tree
Hide file tree
Showing 50 changed files with 796 additions and 6 deletions.
2 changes: 2 additions & 0 deletions functional/168/app.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions functional/168/data/behaviors.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"BROKEN","EPIC","FAILED","FEATURE","PASSED","SKIPPED","STORY","UNKNOWN"
"0","","0","Activation","1","0","Debtor activation","0"
"0","","0","Authentication","1","0","Service Provider authenticated","0"
"0","","0","Web page","1","0","The RTP web page is reachable","0"
"0","","0","Authentication","2","0","Service Provider authentication","0"
"0","","1","RTP Send","0","0","Service provider sends an RTP","0"
1 change: 1 addition & 0 deletions functional/168/data/behaviors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"b1a8273437954620fa374b796ffaacdd","children":[{"name":"Activation","children":[{"name":"Debtor activation","children":[{"name":"Find by payer id request bust contain lower case fiscal code","uid":"645e562d66b905a0","parentUid":"6ddd54eef8fb8cb370df4ddb58bba098","status":"passed","time":{"start":1737447842658,"stop":1737447874455,"duration":31797},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","activation","unhappy_path"]}],"uid":"6ddd54eef8fb8cb370df4ddb58bba098"}],"uid":"7d3c127685a0a76ca34430b254ed7bbb"},{"name":"Authentication","children":[{"name":"Service Provider authentication","children":[{"name":"A Service Provider is authenticated","uid":"1cc168733d5b876e","parentUid":"79a6463ae7b41b28a56af14dec0bb5a8","status":"passed","time":{"start":1737447874457,"stop":1737447875420,"duration":963},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","happy_path"]},{"name":"A Service Provider with invalid client ID is not authenticated","uid":"8219ff3f5dc1d4d3","parentUid":"79a6463ae7b41b28a56af14dec0bb5a8","status":"passed","time":{"start":1737447875421,"stop":1737447875925,"duration":504},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","unhappy_path"]}],"uid":"79a6463ae7b41b28a56af14dec0bb5a8"},{"name":"Service Provider authenticated","children":[{"name":"A Service Provider with invalid client secret is not authenticated","uid":"b3d686c2e842e3b9","parentUid":"8ff85c91c4743818b287cf3d6cff7021","status":"passed","time":{"start":1737447875926,"stop":1737447876739,"duration":813},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","unhappy_path"]}],"uid":"8ff85c91c4743818b287cf3d6cff7021"}],"uid":"3854915ee6a85d1a2a2021761c947c37"},{"name":"Web page","children":[{"name":"The RTP web page is reachable","children":[{"name":"The RTP web page is reachable","uid":"5ed5d1c7933e360","parentUid":"6ed971eb7a656370a7cb8147ae2498bb","status":"passed","time":{"start":1737447876741,"stop":1737447877280,"duration":539},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["landing_page","happy_path"]}],"uid":"6ed971eb7a656370a7cb8147ae2498bb"}],"uid":"a745c58cad0554f88d6b6bc195a81e26"},{"name":"RTP Send","children":[{"name":"Service provider sends an RTP","children":[{"name":"Debtor fiscal code must be lower case during RTP send","uid":"4806afed2b3afa4f","parentUid":"32e62d84f9edd3f1f2d265f2d3b95066","status":"failed","time":{"start":1737447877281,"stop":1737447880135,"duration":2854},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["unhappy_path","send"]}],"uid":"32e62d84f9edd3f1f2d265f2d3b95066"}],"uid":"95c6d4e5d52e65131099abc8382411ef"}],"name":"behaviors"}
2 changes: 2 additions & 0 deletions functional/168/data/categories.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"BROKEN","CATEGORY","FAILED","PASSED","SKIPPED","UNKNOWN"
"0","Product defects","1","0","0","0"
1 change: 1 addition & 0 deletions functional/168/data/categories.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"4b4757e66a1912dae1a509f688f20b0f","children":[{"name":"Product defects","children":[{"name":"AssertionError: assert 404 == 422\n + where 404 = <Response [404]>.status_code","children":[{"name":"Debtor fiscal code must be lower case during RTP send","uid":"4806afed2b3afa4f","parentUid":"46c0de12880317eef24917f077966057","status":"failed","time":{"start":1737447877281,"stop":1737447880135,"duration":2854},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["unhappy_path","send"]}],"uid":"46c0de12880317eef24917f077966057"}],"uid":"8fb3a91ba5aaf9de24cc8a92edc82b5d"}],"name":"categories"}
1 change: 1 addition & 0 deletions functional/168/data/packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"83edc06c07f9ae9e47eb6dd1b683e4e2","children":[{"name":"tests","children":[{"name":"test_activation","children":[{"name":"Find by payer id request bust contain lower case fiscal code","uid":"645e562d66b905a0","parentUid":"6c8343e8ad5ba4ab3f35fcf551a8b0cc","status":"passed","time":{"start":1737447842658,"stop":1737447874455,"duration":31797},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","activation","unhappy_path"]}],"uid":"6c8343e8ad5ba4ab3f35fcf551a8b0cc"},{"name":"test_auth","children":[{"name":"A Service Provider is authenticated","uid":"1cc168733d5b876e","parentUid":"3568597bd520ef3594a738bbba4d1464","status":"passed","time":{"start":1737447874457,"stop":1737447875420,"duration":963},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","happy_path"]},{"name":"A Service Provider with invalid client ID is not authenticated","uid":"8219ff3f5dc1d4d3","parentUid":"3568597bd520ef3594a738bbba4d1464","status":"passed","time":{"start":1737447875421,"stop":1737447875925,"duration":504},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","unhappy_path"]},{"name":"A Service Provider with invalid client secret is not authenticated","uid":"b3d686c2e842e3b9","parentUid":"3568597bd520ef3594a738bbba4d1464","status":"passed","time":{"start":1737447875926,"stop":1737447876739,"duration":813},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","unhappy_path"]}],"uid":"3568597bd520ef3594a738bbba4d1464"},{"name":"test_landing_page","children":[{"name":"The RTP web page is reachable","uid":"5ed5d1c7933e360","parentUid":"28d007bdfc88caca4d7b3b19beff23b9","status":"passed","time":{"start":1737447876741,"stop":1737447877280,"duration":539},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["landing_page","happy_path"]}],"uid":"28d007bdfc88caca4d7b3b19beff23b9"},{"name":"test_send_rtp","children":[{"name":"Debtor fiscal code must be lower case during RTP send","uid":"4806afed2b3afa4f","parentUid":"81bb3c957961481f9b905fc17905b471","status":"failed","time":{"start":1737447877281,"stop":1737447880135,"duration":2854},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["unhappy_path","send"]}],"uid":"81bb3c957961481f9b905fc17905b471"}],"uid":"bf49149a3821e34f7608bb6885d52868"}],"name":"packages"}
7 changes: 7 additions & 0 deletions functional/168/data/suites.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"DESCRIPTION","DURATION IN MS","NAME","PARENT SUITE","START TIME","STATUS","STOP TIME","SUB SUITE","SUITE","TEST CLASS","TEST METHOD"
"","31797","Find by payer id request bust contain lower case fiscal code","tests","Tue Jan 21 08:24:02 GMT 2025","passed","Tue Jan 21 08:24:34 GMT 2025","","test_activation","",""
"","813","A Service Provider with invalid client secret is not authenticated","tests","Tue Jan 21 08:24:35 GMT 2025","passed","Tue Jan 21 08:24:36 GMT 2025","","test_auth","",""
"","539","The RTP web page is reachable","tests","Tue Jan 21 08:24:36 GMT 2025","passed","Tue Jan 21 08:24:37 GMT 2025","","test_landing_page","",""
"","963","A Service Provider is authenticated","tests","Tue Jan 21 08:24:34 GMT 2025","passed","Tue Jan 21 08:24:35 GMT 2025","","test_auth","",""
"","504","A Service Provider with invalid client ID is not authenticated","tests","Tue Jan 21 08:24:35 GMT 2025","passed","Tue Jan 21 08:24:35 GMT 2025","","test_auth","",""
"","2854","Debtor fiscal code must be lower case during RTP send","tests","Tue Jan 21 08:24:37 GMT 2025","failed","Tue Jan 21 08:24:40 GMT 2025","","test_send_rtp","",""
1 change: 1 addition & 0 deletions functional/168/data/suites.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"98d3104e051c652961429bf95fa0b5d6","children":[{"name":"tests","children":[{"name":"test_activation","children":[{"name":"Find by payer id request bust contain lower case fiscal code","uid":"645e562d66b905a0","parentUid":"130bd498f1b8b5e1628c50de6dbb9650","status":"passed","time":{"start":1737447842658,"stop":1737447874455,"duration":31797},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","activation","unhappy_path"]}],"uid":"130bd498f1b8b5e1628c50de6dbb9650"},{"name":"test_auth","children":[{"name":"A Service Provider is authenticated","uid":"1cc168733d5b876e","parentUid":"2d60e98e08cb0ddbe5ae65b440a9833c","status":"passed","time":{"start":1737447874457,"stop":1737447875420,"duration":963},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","happy_path"]},{"name":"A Service Provider with invalid client ID is not authenticated","uid":"8219ff3f5dc1d4d3","parentUid":"2d60e98e08cb0ddbe5ae65b440a9833c","status":"passed","time":{"start":1737447875421,"stop":1737447875925,"duration":504},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","unhappy_path"]},{"name":"A Service Provider with invalid client secret is not authenticated","uid":"b3d686c2e842e3b9","parentUid":"2d60e98e08cb0ddbe5ae65b440a9833c","status":"passed","time":{"start":1737447875926,"stop":1737447876739,"duration":813},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["auth","unhappy_path"]}],"uid":"2d60e98e08cb0ddbe5ae65b440a9833c"},{"name":"test_landing_page","children":[{"name":"The RTP web page is reachable","uid":"5ed5d1c7933e360","parentUid":"ce0b851b74b5cc7fdfaeaa494bc951e1","status":"passed","time":{"start":1737447876741,"stop":1737447877280,"duration":539},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["landing_page","happy_path"]}],"uid":"ce0b851b74b5cc7fdfaeaa494bc951e1"},{"name":"test_send_rtp","children":[{"name":"Debtor fiscal code must be lower case during RTP send","uid":"4806afed2b3afa4f","parentUid":"a5d54a255f1d4a75afc7b43cfd4812c7","status":"failed","time":{"start":1737447877281,"stop":1737447880135,"duration":2854},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":["unhappy_path","send"]}],"uid":"a5d54a255f1d4a75afc7b43cfd4812c7"}],"uid":"e387fa4bb326b54ea8c19c2822aba374"}],"name":"suites"}
1 change: 1 addition & 0 deletions functional/168/data/test-cases/1cc168733d5b876e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"1cc168733d5b876e","name":"A Service Provider is authenticated","fullName":"tests.test_auth#test_get_valid_token","historyId":"e813f3b4e17d0411820f4d08ba7e7042","time":{"start":1737447874457,"stop":1737447875420,"duration":963},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"_session_faker","time":{"start":1737447842601,"stop":1737447842657,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"afterStages":[],"labels":[{"name":"story","value":"Service Provider authentication"},{"name":"feature","value":"Authentication"},{"name":"tag","value":"happy_path"},{"name":"tag","value":"auth"},{"name":"parentSuite","value":"tests"},{"name":"suite","value":"test_auth"},{"name":"host","value":"fv-az1341-998"},{"name":"thread","value":"2279-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.test_auth"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":3,"unknown":0,"total":3},"items":[{"uid":"5c55e11357881d13","reportUrl":"https://pagopa.github.io/rtp-platform-qa/functional/167//#testresult/5c55e11357881d13","status":"passed","time":{"start":1737443190188,"stop":1737443191302,"duration":1114}},{"uid":"9a8fe6dc84845a6f","reportUrl":"https://pagopa.github.io/rtp-platform-qa/functional/166//#testresult/9a8fe6dc84845a6f","status":"passed","time":{"start":1737389789995,"stop":1737389790994,"duration":999}}]},"tags":["auth","happy_path"]},"source":"1cc168733d5b876e.json","parameterValues":[]}
1 change: 1 addition & 0 deletions functional/168/data/test-cases/4806afed2b3afa4f.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"4806afed2b3afa4f","name":"Debtor fiscal code must be lower case during RTP send","fullName":"tests.test_send_rtp#test_send_rtp_api","historyId":"6c14d2fbb180e49a106680915fe95577","time":{"start":1737447877281,"stop":1737447880135,"duration":2854},"status":"failed","statusMessage":"AssertionError: assert 404 == 422\n + where 404 = <Response [404]>.status_code","statusTrace":"@allure.feature('RTP Send')\n @allure.story('Service provider sends an RTP')\n @allure.title('Debtor fiscal code must be lower case during RTP send')\n @pytest.mark.send\n @pytest.mark.unhappy_path\n def test_send_rtp_api():\n rtp_data = generate_rtp_data()\n \n debtor_service_provider_access_token = get_valid_access_token(client_id=secrets.debtor_service_provider.client_id,\n client_secret=secrets.debtor_service_provider.client_secret)\n creditor_service_provider_access_token = get_valid_access_token(\n client_id=secrets.creditor_service_provider.client_id,\n client_secret=secrets.creditor_service_provider.client_secret)\n \n res = activate(debtor_service_provider_access_token, rtp_data['payerId'],\n secrets.debtor_service_provider.service_provider_id)\n assert res.status_code == 201, 'Error activating debtor'\n \n rtp_data['payerId'] = rtp_data['payerId'].lower()\n response = send_rtp(access_token=creditor_service_provider_access_token, rtp_payload=rtp_data)\n> assert response.status_code == 422\nE assert 404 == 422\nE + where 404 = <Response [404]>.status_code\n\nfunctional-tests/tests/test_send_rtp.py:53: AssertionError","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"_session_faker","time":{"start":1737447842601,"stop":1737447842657,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"afterStages":[],"labels":[{"name":"story","value":"Service provider sends an RTP"},{"name":"feature","value":"RTP Send"},{"name":"tag","value":"unhappy_path"},{"name":"tag","value":"send"},{"name":"parentSuite","value":"tests"},{"name":"suite","value":"test_send_rtp"},{"name":"host","value":"fv-az1341-998"},{"name":"thread","value":"2279-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.test_send_rtp"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[{"name":"Product defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":3,"broken":0,"skipped":0,"passed":0,"unknown":0,"total":3},"items":[{"uid":"70aa709f3aab0e3b","reportUrl":"https://pagopa.github.io/rtp-platform-qa/functional/167//#testresult/70aa709f3aab0e3b","status":"failed","statusDetails":"AssertionError: assert 404 == 422\n + where 404 = <Response [404]>.status_code","time":{"start":1737443193833,"stop":1737443197423,"duration":3590}},{"uid":"61ec2e1b86c0edf0","reportUrl":"https://pagopa.github.io/rtp-platform-qa/functional/166//#testresult/61ec2e1b86c0edf0","status":"failed","statusDetails":"AssertionError: assert 404 == 422\n + where 404 = <Response [404]>.status_code","time":{"start":1737389792942,"stop":1737389795806,"duration":2864}}]},"tags":["unhappy_path","send"]},"source":"4806afed2b3afa4f.json","parameterValues":[]}
1 change: 1 addition & 0 deletions functional/168/data/test-cases/5ed5d1c7933e360.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"5ed5d1c7933e360","name":"The RTP web page is reachable","fullName":"tests.test_landing_page#test_send_rtp","historyId":"b0646d9048fd1786f13e4ad4e3c5407e","time":{"start":1737447876741,"stop":1737447877280,"duration":539},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"_session_faker","time":{"start":1737447842601,"stop":1737447842657,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"afterStages":[],"labels":[{"name":"feature","value":"Web page"},{"name":"story","value":"The RTP web page is reachable"},{"name":"tag","value":"happy_path"},{"name":"tag","value":"landing_page"},{"name":"parentSuite","value":"tests"},{"name":"suite","value":"test_landing_page"},{"name":"host","value":"fv-az1341-998"},{"name":"thread","value":"2279-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.test_landing_page"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":3,"unknown":0,"total":3},"items":[{"uid":"909467a5121808e0","reportUrl":"https://pagopa.github.io/rtp-platform-qa/functional/167//#testresult/909467a5121808e0","status":"passed","time":{"start":1737443193161,"stop":1737443193832,"duration":671}},{"uid":"87d4398bfb35bd9d","reportUrl":"https://pagopa.github.io/rtp-platform-qa/functional/166//#testresult/87d4398bfb35bd9d","status":"passed","time":{"start":1737389792326,"stop":1737389792941,"duration":615}}]},"tags":["landing_page","happy_path"]},"source":"5ed5d1c7933e360.json","parameterValues":[]}
Loading

0 comments on commit d54b3cb

Please sign in to comment.