{"uid":"af5495b2dc256baf","name":"passRequests returns results for created pass","fullName":"Pass requests: passRequests returns results for created pass","historyId":"010e40997e6f0fca0e1d5f22e2b8daaf","time":{"start":1777905430118,"stop":1777905439539,"duration":9421},"status":"failed","statusMessage":"AssertionError: В results нет записи с pass_id='69f8af165bf357cd11710b1e'. results=[]\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 50, in step_assert_pass_requests\n assert isinstance(matched, dict), f\"В results нет записи с pass_id={pass_id!r}. results={results!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: В results нет записи с pass_id='69f8af165bf357cd11710b1e'. results=[]\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 50, in step_assert_pass_requests\n assert isinstance(matched, dict), f\"В results нет записи с pass_id={pass_id!r}. results={results!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^\n","steps":[{"name":"When get access token","time":{"start":1777905430123,"stop":1777905430444,"duration":321},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And prepare place, entrance, service and user for pass","time":{"start":1777905430444,"stop":1777905430673,"duration":229},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (main place)","time":{"start":1777905430446,"stop":1777905430493,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"bfb4162419fcbec3","name":"createPlaceMultiple(main) response","source":"bfb4162419fcbec3.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createService","time":{"start":1777905430493,"stop":1777905430527,"duration":34},"status":"passed","steps":[],"attachments":[{"uid":"17e1029a2ed70d14","name":"createService response","source":"17e1029a2ed70d14.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addPlaceToService","time":{"start":1777905430527,"stop":1777905430556,"duration":29},"status":"passed","steps":[],"attachments":[{"uid":"8889d7f2ecbf91a0","name":"addPlaceToService response","source":"8889d7f2ecbf91a0.json","type":"application/json","size":91}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (for pass target)","time":{"start":1777905430556,"stop":1777905430597,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"752c77c356dbea4c","name":"createUser response","source":"752c77c356dbea4c.json","type":"application/json","size":440}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (attach user to pass place)","time":{"start":1777905430597,"stop":1777905430673,"duration":76},"status":"passed","steps":[],"attachments":[{"uid":"2db4c25590939868","name":"addUserToPlace response","source":"2db4c25590939868.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":5,"attachmentStep":false,"stepsCount":5,"hasContent":true},{"name":"And create pass for prepared place","time":{"start":1777905430674,"stop":1777905430943,"duration":269},"status":"passed","steps":[{"name":"GraphQL: createPass (variant 1)","time":{"start":1777905430675,"stop":1777905430942,"duration":267},"status":"passed","steps":[],"attachments":[{"uid":"4fffd5268fff2c5","name":"createPass(v1) response","source":"4fffd5268fff2c5.json","type":"application/json","size":341}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"When query passRequests by created pass_id","time":{"start":1777905430943,"stop":1777905439142,"duration":8199},"status":"passed","steps":[{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905430944,"stop":1777905430981,"duration":37},"status":"passed","steps":[],"attachments":[{"uid":"f723170525f3837d","name":"passRequests response","source":"f723170525f3837d.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905431681,"stop":1777905431735,"duration":54},"status":"passed","steps":[],"attachments":[{"uid":"b376adf29a0a9a2d","name":"passRequests response","source":"b376adf29a0a9a2d.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905432435,"stop":1777905432479,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"dc30de46b721a84b","name":"passRequests response","source":"dc30de46b721a84b.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905433179,"stop":1777905433226,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"3b7d3161ceaaf62e","name":"passRequests response","source":"3b7d3161ceaaf62e.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905433926,"stop":1777905433971,"duration":45},"status":"passed","steps":[],"attachments":[{"uid":"da9f81de2b7fe660","name":"passRequests response","source":"da9f81de2b7fe660.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905434671,"stop":1777905434715,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"5d561d6fe2b69ab6","name":"passRequests response","source":"5d561d6fe2b69ab6.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905435415,"stop":1777905435481,"duration":66},"status":"passed","steps":[],"attachments":[{"uid":"60a6f27dcd9fc243","name":"passRequests response","source":"60a6f27dcd9fc243.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905436181,"stop":1777905436215,"duration":34},"status":"passed","steps":[],"attachments":[{"uid":"d6ffbaa9e21b8a90","name":"passRequests response","source":"d6ffbaa9e21b8a90.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905436915,"stop":1777905436960,"duration":45},"status":"passed","steps":[],"attachments":[{"uid":"9ad8cfb00f701123","name":"passRequests response","source":"9ad8cfb00f701123.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905437660,"stop":1777905437699,"duration":39},"status":"passed","steps":[],"attachments":[{"uid":"22f32e0c6a7ad6a2","name":"passRequests response","source":"22f32e0c6a7ad6a2.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905438399,"stop":1777905438441,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"3c8d8124fd533202","name":"passRequests response","source":"3c8d8124fd533202.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":11,"attachmentStep":false,"stepsCount":11,"hasContent":true},{"name":"Then passRequests response contains created pass","time":{"start":1777905439142,"stop":1777905439145,"duration":3},"status":"failed","statusMessage":"AssertionError: В results нет записи с pass_id='69f8af165bf357cd11710b1e'. results=[]\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 50, in step_assert_pass_requests\n assert isinstance(matched, dict), f\"В results нет записи с pass_id={pass_id!r}. results={results!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_pass","time":{"start":1777905439145,"stop":1777905439171,"duration":26},"status":"broken","statusMessage":"RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Unknown argument \\\"id\\\" on field \\\"Mutation.deletePass\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"},{\"message\":\"Field \\\"deletePass\\\" argument \\\"pass_id\\\" of type \\\"String!\\\" is required, but it was not provided.\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","statusTrace":" File \"Pass_request\\features\\environment.py\", line 49, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1440, in _cleanup_delete_pass\n _exec_or_fail(op_name=\"deletePass\", token=token, query=delete_mutation, variables={\"id\": pass_id}, company_id=self.company_id)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 30, in _exec_or_fail\n return execute_graphql(\n query=query,\n ...<2 lines>...\n access_token=token,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\graphql_client.py\", line 180, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n","steps":[],"attachments":[{"uid":"c1f6dfcff1143b07","name":"RuntimeError: deletePass","source":"c1f6dfcff1143b07.txt","type":"text/plain","size":507}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777905439177,"stop":1777905439415,"duration":238},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_unbind_and_delete_service","time":{"start":1777905439415,"stop":1777905439487,"duration":72},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777905439487,"stop":1777905439538,"duration":51},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[{"uid":"d548d96f7d9aa9d1","name":"Cleanup error","source":"d548d96f7d9aa9d1.txt","type":"text/plain","size":2919}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":19,"attachmentStep":false,"stepsCount":26,"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":"af5495b2dc256baf.json","parameterValues":[]}