1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"uid":"5775a146de375d31","name":"passRequests returns results for created pass","fullName":"Pass requests: passRequests returns results for created pass","historyId":"010e40997e6f0fca0e1d5f22e2b8daaf","time":{"start":1777905377551,"stop":1777905378802,"duration":1251},"status":"failed","statusMessage":"AssertionError: В results нет записи с pass_id='69f8aee25bf357cd11710a60'. 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='69f8aee25bf357cd11710a60'. 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":1777905377553,"stop":1777905377897,"duration":344},"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":1777905377897,"stop":1777905378137,"duration":240},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (main place)","time":{"start":1777905377900,"stop":1777905377944,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"e940f5ee803235c1","name":"createPlaceMultiple(main) response","source":"e940f5ee803235c1.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createService","time":{"start":1777905377944,"stop":1777905377974,"duration":30},"status":"passed","steps":[],"attachments":[{"uid":"d7089db6315b1542","name":"createService response","source":"d7089db6315b1542.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addPlaceToService","time":{"start":1777905377974,"stop":1777905378013,"duration":39},"status":"passed","steps":[],"attachments":[{"uid":"b249c04ab1cf4849","name":"addPlaceToService response","source":"b249c04ab1cf4849.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":1777905378013,"stop":1777905378058,"duration":45},"status":"passed","steps":[],"attachments":[{"uid":"7c3c56a27a3b0d77","name":"createUser response","source":"7c3c56a27a3b0d77.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":1777905378058,"stop":1777905378137,"duration":79},"status":"passed","steps":[],"attachments":[{"uid":"8a9cce802101e121","name":"addUserToPlace response","source":"8a9cce802101e121.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":1777905378138,"stop":1777905378369,"duration":231},"status":"passed","steps":[{"name":"GraphQL: createPass (variant 1)","time":{"start":1777905378138,"stop":1777905378368,"duration":230},"status":"passed","steps":[],"attachments":[{"uid":"838fe7fae97a2f94","name":"createPass(v1) response","source":"838fe7fae97a2f94.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":1777905378369,"stop":1777905378412,"duration":43},"status":"passed","steps":[{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1777905378370,"stop":1777905378412,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"9e164dc74b0b6907","name":"passRequests response","source":"9e164dc74b0b6907.json","type":"application/json","size":67}],"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 passRequests response contains created pass","time":{"start":1777905378412,"stop":1777905378416,"duration":4},"status":"failed","statusMessage":"AssertionError: В results нет записи с pass_id='69f8aee25bf357cd11710a60'. 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":1777905378417,"stop":1777905378438,"duration":21},"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":"327dcb0be6a5fd85","name":"RuntimeError: deletePass","source":"327dcb0be6a5fd85.txt","type":"text/plain","size":507}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777905378444,"stop":1777905378616,"duration":172},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_unbind_and_delete_service","time":{"start":1777905378616,"stop":1777905378744,"duration":128},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777905378744,"stop":1777905378800,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[{"uid":"ac58d1ff880b4df4","name":"Cleanup error","source":"ac58d1ff880b4df4.txt","type":"text/plain","size":2919}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":9,"attachmentStep":false,"stepsCount":16,"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":"5775a146de375d31.json","parameterValues":[]} |