Noob_test/allure-report/data/test-cases/58eb84143023430b.json
2026-05-15 11:34:24 +03:00

1 line
15 KiB
JSON

{"uid":"58eb84143023430b","name":"addUserToPlace adds trusted member with accepted status","fullName":"Pass requests: addUserToPlace adds trusted member with accepted status","historyId":"470bc5c3f04104d6210dad598c3d8b54","time":{"start":1777975334882,"stop":1777975335048,"duration":166},"status":"failed","statusMessage":"AssertionError: Ожидали list|null в privileges, получили: 'trusted'\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 77, in step_assert_trusted_worker_member\n td.assert_worker_member_trusted_and_accepted(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1136, in assert_worker_member_trusted_and_accepted\n assert isinstance(privileges, list), f\"Ожидали list|null в privileges, получили: {privileges!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Ожидали list|null в privileges, получили: 'trusted'\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 77, in step_assert_trusted_worker_member\n td.assert_worker_member_trusted_and_accepted(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1136, in assert_worker_member_trusted_and_accepted\n assert isinstance(privileges, list), f\"Ожидали list|null в privileges, получили: {privileges!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n","steps":[{"name":"When get access token","time":{"start":1777975334883,"stop":1777975335021,"duration":138},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And prepare place with owner and trusted worker for members query","time":{"start":1777975335021,"stop":1777975335041,"duration":20},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (main place)","time":{"start":1777975335022,"stop":1777975335025,"duration":3},"status":"passed","steps":[{"name":"GraphQL: createEntrance(RegisterEntranceDTO)","time":{"start":1777975335023,"stop":1777975335025,"duration":2},"status":"passed","steps":[],"attachments":[{"uid":"fbbfa82161efb90f","name":"createEntrance response","source":"fbbfa82161efb90f.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[{"uid":"eba2d9e28bc9edfc","name":"createPlaceMultiple(main) response","source":"eba2d9e28bc9edfc.json","type":"application/json","size":136}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":2,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"GraphQL: createUser (owner passreq)","time":{"start":1777975335025,"stop":1777975335026,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"a73898c0c20d09ac","name":"createUser(generic) response","source":"a73898c0c20d09ac.json","type":"application/json","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (worker passreq)","time":{"start":1777975335026,"stop":1777975335026,"duration":0},"status":"passed","steps":[],"attachments":[{"uid":"26da908e0fb01f30","name":"createUser(generic) response","source":"26da908e0fb01f30.json","type":"application/json","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=place_8194fefc03fe)","time":{"start":1777975335027,"stop":1777975335028,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"7245bc8d8876bde7","name":"addUserToPlace(generic) response","source":"7245bc8d8876bde7.json","type":"application/json","size":130}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privilege/dto-input-privilege, place_id=place_8194fefc03fe)","time":{"start":1777975335028,"stop":1777975335029,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"f75ef4cc7da41c5d","name":"RuntimeError: addUserToPlace(arg-dto-privilege/dto-input-privilege)","source":"f75ef4cc7da41c5d.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privilege/dto-input-privileges, place_id=place_8194fefc03fe)","time":{"start":1777975335029,"stop":1777975335030,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"b98a35921c6fe69","name":"RuntimeError: addUserToPlace(arg-dto-privilege/dto-input-privileges)","source":"b98a35921c6fe69.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privilege/dto-direct-privilege, place_id=place_8194fefc03fe)","time":{"start":1777975335030,"stop":1777975335031,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"8714cf6d37b1825b","name":"RuntimeError: addUserToPlace(arg-dto-privilege/dto-direct-privilege)","source":"8714cf6d37b1825b.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privilege/dto-direct-privileges, place_id=place_8194fefc03fe)","time":{"start":1777975335031,"stop":1777975335032,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"5b57d23b7c11d636","name":"RuntimeError: addUserToPlace(arg-dto-privilege/dto-direct-privileges)","source":"5b57d23b7c11d636.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privilege/dto-input, place_id=place_8194fefc03fe)","time":{"start":1777975335032,"stop":1777975335033,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"5a7b14a33d37750f","name":"RuntimeError: addUserToPlace(arg-dto-privilege/dto-input)","source":"5a7b14a33d37750f.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privilege/dto-direct, place_id=place_8194fefc03fe)","time":{"start":1777975335033,"stop":1777975335034,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"a2ac6172ddb1c61d","name":"RuntimeError: addUserToPlace(arg-dto-privilege/dto-direct)","source":"a2ac6172ddb1c61d.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privileges/dto-input-privilege, place_id=place_8194fefc03fe)","time":{"start":1777975335034,"stop":1777975335034,"duration":0},"status":"passed","steps":[],"attachments":[{"uid":"cace1dc34f4fc2f","name":"RuntimeError: addUserToPlace(arg-dto-privileges/dto-input-privilege)","source":"cace1dc34f4fc2f.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privileges/dto-input-privileges, place_id=place_8194fefc03fe)","time":{"start":1777975335034,"stop":1777975335035,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"49f864cad46dc38d","name":"RuntimeError: addUserToPlace(arg-dto-privileges/dto-input-privileges)","source":"49f864cad46dc38d.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privileges/dto-direct-privilege, place_id=place_8194fefc03fe)","time":{"start":1777975335035,"stop":1777975335036,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"65a0192311d31c44","name":"RuntimeError: addUserToPlace(arg-dto-privileges/dto-direct-privilege)","source":"65a0192311d31c44.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privileges/dto-direct-privileges, place_id=place_8194fefc03fe)","time":{"start":1777975335036,"stop":1777975335037,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"7862f9b5521f463d","name":"RuntimeError: addUserToPlace(arg-dto-privileges/dto-direct-privileges)","source":"7862f9b5521f463d.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privileges/dto-input, place_id=place_8194fefc03fe)","time":{"start":1777975335037,"stop":1777975335038,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"37b96dce9ed6ab8d","name":"RuntimeError: addUserToPlace(arg-dto-privileges/dto-input)","source":"37b96dce9ed6ab8d.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (arg-dto-privileges/dto-direct, place_id=place_8194fefc03fe)","time":{"start":1777975335038,"stop":1777975335038,"duration":0},"status":"passed","steps":[],"attachments":[{"uid":"4f0e2379cde1fc99","name":"RuntimeError: addUserToPlace(arg-dto-privileges/dto-direct)","source":"4f0e2379cde1fc99.txt","type":"text/plain","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input-privilege, place_id=place_8194fefc03fe)","time":{"start":1777975335038,"stop":1777975335039,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"951aa81727410c15","name":"addUserToPlace(generic) response","source":"951aa81727410c15.json","type":"application/json","size":130}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: updateMemberStatus (dto)","time":{"start":1777975335040,"stop":1777975335041,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"61abbda82c3055c5","name":"updateMemberStatus response","source":"61abbda82c3055c5.json","type":"application/json","size":16}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":19,"attachmentStep":false,"stepsCount":19,"hasContent":true},{"name":"When query members for prepared place","time":{"start":1777975335041,"stop":1777975335043,"duration":2},"status":"passed","steps":[{"name":"GraphQL: members(filters.place_id)","time":{"start":1777975335042,"stop":1777975335042,"duration":0},"status":"passed","steps":[],"attachments":[{"uid":"853b33b223e69b76","name":"members response","source":"853b33b223e69b76.json","type":"application/json","size":455}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"Then members response contains trusted worker with accepted status","time":{"start":1777975335043,"stop":1777975335046,"duration":3},"status":"failed","statusMessage":"AssertionError: Ожидали list|null в privileges, получили: 'trusted'\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 77, in step_assert_trusted_worker_member\n td.assert_worker_member_trusted_and_accepted(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1136, in assert_worker_member_trusted_and_accepted\n assert isinstance(privileges, list), f\"Ожидали list|null в privileges, получили: {privileges!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777975335046,"stop":1777975335046,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777975335046,"stop":1777975335046,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777975335046,"stop":1777975335046,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":20,"attachmentStep":false,"stepsCount":27,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"Pass requests"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"58eb84143023430b.json","parameterValues":[]}