1 line
44 KiB
JSON
1 line
44 KiB
JSON
{"uid":"5c989b10f23eb933","name":"Pass request rejection prevents activation even with second confirmation","fullName":"Pass requests: Pass request rejection prevents activation even with second confirmation","historyId":"d5214a811b3d7cd98d122456dbf59131","time":{"start":1778743031499,"stop":1778743075062,"duration":43563},"status":"failed","statusMessage":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'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_request_approval_steps.py\", line 31, in step_query_pass_requests_my_token\n resp = td.wait_for_pass_request(token=token, pass_id=getattr(context, \"pass_id\", None))\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1519, in wait_for_pass_request\n raise AssertionError(f\"passRequests не вернул results за {timeout_s:.0f}s. Последний ответ: {last_resp!r}\")\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":27,"retriesStatusChange":true,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'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_request_approval_steps.py\", line 31, in step_query_pass_requests_my_token\n resp = td.wait_for_pass_request(token=token, pass_id=getattr(context, \"pass_id\", None))\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1519, in wait_for_pass_request\n raise AssertionError(f\"passRequests не вернул results за {timeout_s:.0f}s. Последний ответ: {last_resp!r}\")\n","steps":[{"name":"When get access token","time":{"start":1778743031502,"stop":1778743031636,"duration":134},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And prepare nested places and employees for pass request approval flow","time":{"start":1778743031637,"stop":1778743032724,"duration":1087},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (passreq-place-1, place_type=flat)","time":{"start":1778743031638,"stop":1778743031697,"duration":59},"status":"passed","steps":[],"attachments":[{"uid":"f2f8627297c85ffd","name":"createPlaceMultiple response","source":"f2f8627297c85ffd.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)","time":{"start":1778743031697,"stop":1778743031753,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"86a44c02a584b29e","name":"createPlaceMultiple response","source":"86a44c02a584b29e.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)","time":{"start":1778743031754,"stop":1778743031815,"duration":61},"status":"passed","steps":[],"attachments":[{"uid":"287be0523f8cc755","name":"createPlaceMultiple response","source":"287be0523f8cc755.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createEntrance(RegisterEntranceDTO)","time":{"start":1778743031816,"stop":1778743031876,"duration":60},"status":"passed","steps":[],"attachments":[{"uid":"f1039db94147af80","name":"createEntrance response","source":"f1039db94147af80.json","type":"application/json","size":609}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1778743031876,"stop":1778743031935,"duration":59},"status":"passed","steps":[],"attachments":[{"uid":"dbe1788576580365","name":"createUser(generic) response","source":"dbe1788576580365.json","type":"application/json","size":440}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=6a0576f717bb1e0c5fc4e5d7)","time":{"start":1778743031935,"stop":1778743032019,"duration":84},"status":"passed","steps":[],"attachments":[{"uid":"78dfcd5721a5fb03","name":"addUserToPlace(generic) response","source":"78dfcd5721a5fb03.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1778743032019,"stop":1778743032106,"duration":87},"status":"passed","steps":[],"attachments":[{"uid":"e78f47c8390c9278","name":"createUser(generic) response","source":"e78f47c8390c9278.json","type":"application/json","size":440}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=6a0576f732367dfb4b45abe8)","time":{"start":1778743032106,"stop":1778743032194,"duration":88},"status":"passed","steps":[],"attachments":[{"uid":"f5278c82a980c77a","name":"addUserToPlace(generic) response","source":"f5278c82a980c77a.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1778743032194,"stop":1778743032256,"duration":62},"status":"passed","steps":[],"attachments":[{"uid":"26a3dc5c37ce7192","name":"createUser(generic) response","source":"26a3dc5c37ce7192.json","type":"application/json","size":440}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=6a0576f7037d44249d0d1b21)","time":{"start":1778743032256,"stop":1778743032333,"duration":77},"status":"passed","steps":[],"attachments":[{"uid":"e90b7fad138ae2af","name":"addUserToPlace(generic) response","source":"e90b7fad138ae2af.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (new approver)","time":{"start":1778743032334,"stop":1778743032528,"duration":194},"status":"passed","steps":[],"attachments":[{"uid":"83f2ad725659927c","name":"createUser(new approver) response","source":"83f2ad725659927c.json","type":"application/json","size":444}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Auth: get access_token for new approver","time":{"start":1778743032528,"stop":1778743032668,"duration":140},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"GraphQL: addEmployee (new approver with passRequests attrs)","time":{"start":1778743032668,"stop":1778743032722,"duration":54},"status":"passed","steps":[],"attachments":[{"uid":"b6a35627be4ee594","name":"addEmployee(new approver) response","source":"b6a35627be4ee594.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":12,"attachmentStep":false,"stepsCount":13,"hasContent":true},{"name":"And create pass in place #3 for approval flow","time":{"start":1778743032724,"stop":1778743033385,"duration":661},"status":"passed","steps":[{"name":"GraphQL: createService","time":{"start":1778743032725,"stop":1778743032781,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"3dbee2365c25aa59","name":"createService response","source":"3dbee2365c25aa59.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addPlaceToService","time":{"start":1778743032781,"stop":1778743032830,"duration":49},"status":"passed","steps":[],"attachments":[{"uid":"78ae4cbaf1ac7b50","name":"addPlaceToService response","source":"78ae4cbaf1ac7b50.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":1778743032830,"stop":1778743032890,"duration":60},"status":"passed","steps":[],"attachments":[{"uid":"fc6964ef8d3ab5a0","name":"createUser response","source":"fc6964ef8d3ab5a0.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":1778743032890,"stop":1778743033154,"duration":264},"status":"passed","steps":[],"attachments":[{"uid":"7024d46a8297262a","name":"addUserToPlace response","source":"7024d46a8297262a.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPass (variant 1)","time":{"start":1778743033154,"stop":1778743033384,"duration":230},"status":"passed","steps":[],"attachments":[{"uid":"381ba7a7e807744d","name":"createPass(v1) response","source":"381ba7a7e807744d.json","type":"application/json","size":346}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":5,"attachmentStep":false,"stepsCount":5,"hasContent":true},{"name":"When query passRequests by created pass_id with my token","time":{"start":1778743033385,"stop":1778743073667,"duration":40282},"status":"failed","statusMessage":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'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_request_approval_steps.py\", line 31, in step_query_pass_requests_my_token\n resp = td.wait_for_pass_request(token=token, pass_id=getattr(context, \"pass_id\", None))\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1519, in wait_for_pass_request\n raise AssertionError(f\"passRequests не вернул results за {timeout_s:.0f}s. Последний ответ: {last_resp!r}\")\n","steps":[{"name":"GraphQL: passRequests (by pass_id)","time":{"start":1778743033386,"stop":1778743033435,"duration":49},"status":"passed","steps":[],"attachments":[{"uid":"b0bed43f568fafad","name":"passRequests response","source":"b0bed43f568fafad.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":1778743034435,"stop":1778743034486,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"cc369161c93aa7b1","name":"passRequests response","source":"cc369161c93aa7b1.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":1778743035487,"stop":1778743035536,"duration":49},"status":"passed","steps":[],"attachments":[{"uid":"87526de1cd7e5ae4","name":"passRequests response","source":"87526de1cd7e5ae4.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":1778743036537,"stop":1778743036589,"duration":52},"status":"passed","steps":[],"attachments":[{"uid":"36b9c5daffb092f3","name":"passRequests response","source":"36b9c5daffb092f3.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":1778743037589,"stop":1778743037642,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"77b14a13a8f3d5fb","name":"passRequests response","source":"77b14a13a8f3d5fb.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":1778743038642,"stop":1778743038703,"duration":61},"status":"passed","steps":[],"attachments":[{"uid":"7824bf6de0657329","name":"passRequests response","source":"7824bf6de0657329.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":1778743039704,"stop":1778743039750,"duration":46},"status":"passed","steps":[],"attachments":[{"uid":"3a820f06a07dc4ee","name":"passRequests response","source":"3a820f06a07dc4ee.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":1778743040750,"stop":1778743040802,"duration":52},"status":"passed","steps":[],"attachments":[{"uid":"9e242b6fd933b697","name":"passRequests response","source":"9e242b6fd933b697.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":1778743041803,"stop":1778743041866,"duration":63},"status":"passed","steps":[],"attachments":[{"uid":"8c20ce734671a83c","name":"passRequests response","source":"8c20ce734671a83c.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":1778743042867,"stop":1778743042935,"duration":68},"status":"passed","steps":[],"attachments":[{"uid":"7282dee5c004b94b","name":"passRequests response","source":"7282dee5c004b94b.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":1778743043935,"stop":1778743043984,"duration":49},"status":"passed","steps":[],"attachments":[{"uid":"b146e3f3317dc2b0","name":"passRequests response","source":"b146e3f3317dc2b0.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":1778743044984,"stop":1778743045050,"duration":66},"status":"passed","steps":[],"attachments":[{"uid":"9d8946f54bce6e82","name":"passRequests response","source":"9d8946f54bce6e82.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":1778743046050,"stop":1778743046101,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"dade75a6fc158175","name":"passRequests response","source":"dade75a6fc158175.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":1778743047101,"stop":1778743047157,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"a42f5c41a7c896a7","name":"passRequests response","source":"a42f5c41a7c896a7.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":1778743048157,"stop":1778743048302,"duration":145},"status":"passed","steps":[],"attachments":[{"uid":"229125933e9455b9","name":"passRequests response","source":"229125933e9455b9.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":1778743049302,"stop":1778743049350,"duration":48},"status":"passed","steps":[],"attachments":[{"uid":"22ed9145778b6170","name":"passRequests response","source":"22ed9145778b6170.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":1778743050350,"stop":1778743050397,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"44d833a4dd6e6715","name":"passRequests response","source":"44d833a4dd6e6715.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":1778743051398,"stop":1778743051446,"duration":48},"status":"passed","steps":[],"attachments":[{"uid":"369750a4d2b75f36","name":"passRequests response","source":"369750a4d2b75f36.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":1778743052446,"stop":1778743052605,"duration":159},"status":"passed","steps":[],"attachments":[{"uid":"1a676073fa7f6b8e","name":"passRequests response","source":"1a676073fa7f6b8e.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":1778743053605,"stop":1778743053657,"duration":52},"status":"passed","steps":[],"attachments":[{"uid":"450764024c0d4c80","name":"passRequests response","source":"450764024c0d4c80.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":1778743054658,"stop":1778743054707,"duration":49},"status":"passed","steps":[],"attachments":[{"uid":"e04db863784f31bf","name":"passRequests response","source":"e04db863784f31bf.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":1778743055708,"stop":1778743055771,"duration":63},"status":"passed","steps":[],"attachments":[{"uid":"6ee692e1bfa54401","name":"passRequests response","source":"6ee692e1bfa54401.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":1778743056771,"stop":1778743056822,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"3d6779820e2bed95","name":"passRequests response","source":"3d6779820e2bed95.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":1778743057822,"stop":1778743057879,"duration":57},"status":"passed","steps":[],"attachments":[{"uid":"49a81743a758dd24","name":"passRequests response","source":"49a81743a758dd24.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":1778743058879,"stop":1778743058937,"duration":58},"status":"passed","steps":[],"attachments":[{"uid":"27c3ce7964c68205","name":"passRequests response","source":"27c3ce7964c68205.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":1778743059937,"stop":1778743059990,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"e5891ca2ad8ed775","name":"passRequests response","source":"e5891ca2ad8ed775.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":1778743060991,"stop":1778743061053,"duration":62},"status":"passed","steps":[],"attachments":[{"uid":"6045c50c04c3a48c","name":"passRequests response","source":"6045c50c04c3a48c.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":1778743062054,"stop":1778743062104,"duration":50},"status":"passed","steps":[],"attachments":[{"uid":"c06895773b209a01","name":"passRequests response","source":"c06895773b209a01.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":1778743063104,"stop":1778743063161,"duration":57},"status":"passed","steps":[],"attachments":[{"uid":"324410b4a575d8eb","name":"passRequests response","source":"324410b4a575d8eb.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":1778743064162,"stop":1778743064209,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"99a21a9d1809fb71","name":"passRequests response","source":"99a21a9d1809fb71.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":1778743065209,"stop":1778743065263,"duration":54},"status":"passed","steps":[],"attachments":[{"uid":"7a49d8702508518","name":"passRequests response","source":"7a49d8702508518.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":1778743066263,"stop":1778743066314,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"4e0629612f708792","name":"passRequests response","source":"4e0629612f708792.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":1778743067315,"stop":1778743067374,"duration":59},"status":"passed","steps":[],"attachments":[{"uid":"ec32dcbb1a7a1fab","name":"passRequests response","source":"ec32dcbb1a7a1fab.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":1778743068374,"stop":1778743068423,"duration":49},"status":"passed","steps":[],"attachments":[{"uid":"8a2320e7f2499cfe","name":"passRequests response","source":"8a2320e7f2499cfe.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":1778743069423,"stop":1778743069473,"duration":50},"status":"passed","steps":[],"attachments":[{"uid":"a7a9d9349d702bf1","name":"passRequests response","source":"a7a9d9349d702bf1.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":1778743070473,"stop":1778743070555,"duration":82},"status":"passed","steps":[],"attachments":[{"uid":"412643c4cfd9b250","name":"passRequests response","source":"412643c4cfd9b250.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":1778743071555,"stop":1778743071608,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"4661cac009ba85b3","name":"passRequests response","source":"4661cac009ba85b3.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":1778743072608,"stop":1778743072664,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"e0097a73ddfb26f5","name":"passRequests response","source":"e0097a73ddfb26f5.json","type":"application/json","size":67}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":38,"attachmentStep":false,"stepsCount":38,"hasContent":true},{"name":"Cleanup: _cleanup_delete_pass","time":{"start":1778743073668,"stop":1778743073709,"duration":41},"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 51, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1471, 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 35, 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 303, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n","steps":[],"attachments":[{"uid":"a3e401043678d861","name":"RuntimeError: deletePass","source":"a3e401043678d861.txt","type":"text/plain","size":507}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778743073713,"stop":1778743073953,"duration":240},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_unbind_and_delete_service","time":{"start":1778743073953,"stop":1778743074071,"duration":118},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778743074071,"stop":1778743074259,"duration":188},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778743074259,"stop":1778743074437,"duration":178},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778743074437,"stop":1778743074613,"duration":176},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778743074613,"stop":1778743074841,"duration":228},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778743074841,"stop":1778743074917,"duration":76},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778743074917,"stop":1778743074992,"duration":75},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778743074992,"stop":1778743075060,"duration":68},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is pending","time":{"start":1778743075062,"stop":1778743075062,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When reject pass request with my token","time":{"start":1778743075062,"stop":1778743075062,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And re-query passRequests by created pass_id with my token","time":{"start":1778743075062,"stop":1778743075062,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is not active","time":{"start":1778743075062,"stop":1778743075062,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When approve pass request with new employee token","time":{"start":1778743075062,"stop":1778743075062,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query passRequests by created pass_id with new employee token","time":{"start":1778743075062,"stop":1778743075062,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is not active","time":{"start":1778743075062,"stop":1778743075062,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[{"uid":"f025391fe7cf0ef6","name":"Cleanup error","source":"f025391fe7cf0ef6.txt","type":"text/plain","size":2945}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":57,"attachmentStep":false,"stepsCount":77,"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":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"1dc90b4c82d8a9bc","status":"failed","statusDetails":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777978558669,"stop":1777978602249,"duration":43580}},{"uid":"99bb37640dc68f3b","status":"failed","statusDetails":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777977000997,"stop":1777977045961,"duration":44964}},{"uid":"9ea27d8178a9d90c","status":"failed","statusDetails":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777976673050,"stop":1777976718439,"duration":45389}},{"uid":"1eb9fd18dac01c70","status":"passed","time":{"start":1777975722521,"stop":1777975722711,"duration":190}},{"uid":"c16bd335273b55d4","status":"passed","time":{"start":1777975508471,"stop":1777975508677,"duration":206}},{"uid":"661bc07d2f14446c","status":"passed","time":{"start":1777975357111,"stop":1777975357311,"duration":200}},{"uid":"d1ea93e9eca1cc1a","status":"passed","time":{"start":1777975334702,"stop":1777975334880,"duration":178}},{"uid":"f4b180f5b22b1112","status":"broken","statusDetails":"RuntimeError: Auth HTTP 401: {\"type\":\"Client Error\",\"status\":401,\"message\":\"Unauthorized\",\"description\":\"Bad credentials\",\"data\":{},\"stack\":\"Error: Unauthorized\\n at /usr/src/app/dist/infrastructure/keycloak/keycloak.service.js:105:19\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\"}\n","time":{"start":1777975278503,"stop":1777975278719,"duration":216}},{"uid":"1fe0c0805a70468a","status":"failed","statusDetails":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777975074507,"stop":1777975120368,"duration":45861}},{"uid":"813800cd0c2ed719","status":"broken","statusDetails":"RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"createEntrance\\\" must not have a selection since type \\\"JSONObject!\\\" has no subfields.\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","time":{"start":1777974959858,"stop":1777974960514,"duration":656}},{"uid":"1872fd836e1dfe40","status":"failed","statusDetails":"AssertionError: Для createEntrance нужен хотя бы один device id. Укажи ENTRANCE_DEVICE_IDS (через запятую) или ENTRANCE_DEVICE_ID в окружении запуска тестов.\n","time":{"start":1777906053357,"stop":1777906055327,"duration":1970}},{"uid":"542ead338f38aa9","status":"failed","statusDetails":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777905949780,"stop":1777905994801,"duration":45021}},{"uid":"d8bef585955f95f","status":"failed","statusDetails":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777905777942,"stop":1777905821243,"duration":43301}},{"uid":"525d66f8cf1135a0","status":"failed","statusDetails":"AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777905577794,"stop":1777905621109,"duration":43315}},{"uid":"df226a1596a35a6e","status":"failed","statusDetails":"AssertionError: passRequests.results пустой/не list: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777905450382,"stop":1777905461313,"duration":10931}},{"uid":"79fcb45e771995d0","status":"failed","statusDetails":"AssertionError: passRequests.results пустой/не list: {'data': {'passRequests': {'results': []}}}\n","time":{"start":1777905382740,"stop":1777905385413,"duration":2673}},{"uid":"bb313884bcd5b46b","status":"failed","statusDetails":"AssertionError: Для createEntrance нужен хотя бы один device id. Укажи ENTRANCE_DEVICE_IDS (через запятую) или ENTRANCE_DEVICE_ID в окружении запуска тестов.\n","time":{"start":1777905346001,"stop":1777905348541,"duration":2540}},{"uid":"a8822dd4a94be49c","status":"failed","statusDetails":"AssertionError: createPass не удалось ни одним вариантом input. Последняя ошибка: GraphQL errors: [{'message': 'Not Found', 'code': 'Client Error', 'status': 404, 'description': 'The server has not found anything matching the Request-URI'}]\n","time":{"start":1777904585416,"stop":1777904591439,"duration":6023}},{"uid":"9cb20f500ed23b11","status":"failed","statusDetails":"AssertionError: Не удалось прикрепить employee к place. Попробовали: ['addEmployeeToPlace/dto', 'addEmployeeToPlace/args', 'addEmployeeToPlace/employee_ids', 'attachEmployeeToPlace/dto', 'attachEmployeeToPlace/args', 'attachEmployeeToPlace/employee_ids', 'addEmployeesToPlace/dto', 'addEmployeesToPlace/args', 'addEmployeesToPlace/employee_ids', 'addEmployeesToPlaces/dto', 'addEmployeesToPlaces/args', 'addEmployeesToPlaces/employee_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"addEmployeesToPlaces\\\" on type \\\"Mutation\\\". Did you mean \\\"addEmployee\\\" or \\\"addUserToPlace\\\"?\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","time":{"start":1777904545077,"stop":1777904549042,"duration":3965}},{"uid":"998e6854b530c462","status":"failed","statusDetails":"AssertionError: Не удалось создать entrance place под place_id='69f8ab7b32367dfb4b45a2fe'. Последняя ошибка: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\n","time":{"start":1777904506617,"stop":1777904508524,"duration":1907}},{"uid":"519e1188555cb050","status":"broken","statusDetails":"RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Variable \\\"$attributes\\\" of type \\\"[String!]!\\\" used in position expecting type \\\"[EmployeeAttribute!]!\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","time":{"start":1777904427534,"stop":1777904431859,"duration":4325}},{"uid":"90162c4b1509888a","status":"failed","statusDetails":"AssertionError: Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"profile\\\" on type \\\"Query\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","time":{"start":1777904339722,"stop":1777904343519,"duration":3797}},{"uid":"87807dcb67bb90e1","status":"failed","statusDetails":"AssertionError: Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"profile\\\" on type \\\"Query\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","time":{"start":1777904275466,"stop":1777904276020,"duration":554}},{"uid":"5d2625ee6e8f50cf","status":"failed","statusDetails":"AssertionError: Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"profile\\\" on type \\\"Query\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","time":{"start":1777904187087,"stop":1777904187666,"duration":579}},{"uid":"d30b5b5afde0a78f","status":"broken","statusDetails":"RuntimeError: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\n","time":{"start":1777904073285,"stop":1777904073568,"duration":283}},{"uid":"e41ff3010fa24534","status":"broken","statusDetails":"RuntimeError: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\n","time":{"start":1777903995462,"stop":1777903995645,"duration":183}},{"uid":"bb69fe804cf499dd","status":"broken","statusDetails":"RuntimeError: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\n","time":{"start":1777894654876,"stop":1777894655113,"duration":237}}],"categories":[{"name":"Product defects","matchedStatuses":[]}],"tags":[]},"source":"5c989b10f23eb933.json","parameterValues":[]} |