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

1 line
11 KiB
JSON

{"uid":"ba3358bf6a1f06f6","name":"Two places, bundle plan, subscription — user sees only services of their place","fullName":"Subscription with service bundle and place-scoped visibility: Two places, bundle plan, subscription — user sees only services of their place","historyId":"e01f7edf8ab434df7aa084bef16d4ed6","time":{"start":1778597957182,"stop":1778597957386,"duration":204},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":3,"retriesStatusChange":true,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"When get access token","time":{"start":1778597957184,"stop":1778597957364,"duration":180},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then access token is valid","time":{"start":1778597957365,"stop":1778597957366,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When prepare two places bundle tariff subscription and services","time":{"start":1778597957366,"stop":1778597957377,"duration":11},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (two places)","time":{"start":1778597957369,"stop":1778597957370,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"9dd5704cf071bef8","name":"createPlaceMultiple (bundle)","source":"9dd5704cf071bef8.json","type":"application/json","size":219}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createService x3","time":{"start":1778597957370,"stop":1778597957371,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"GraphQL: addPlaceToService (s1,s2 -> place A; s3 -> place B)","time":{"start":1778597957371,"stop":1778597957371,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"GraphQL: createPlan (bundle: two services on place A)","time":{"start":1778597957371,"stop":1778597957372,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"e80e627617ceda00","name":"createPlan bundle","source":"e80e627617ceda00.json","type":"application/json","size":435}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlan (single service on place B)","time":{"start":1778597957372,"stop":1778597957373,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"d06e92d2877d56b1","name":"createPlan place B","source":"d06e92d2877d56b1.json","type":"application/json","size":402}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (KVS)","time":{"start":1778597957373,"stop":1778597957374,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"b3eb5dd70b6178cf","name":"createUser response","source":"b3eb5dd70b6178cf.json","type":"application/json","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (subscriber -> place A only)","time":{"start":1778597957374,"stop":1778597957375,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"7cacee851d2a7d60","name":"addUserToPlace bundle","source":"7cacee851d2a7d60.json","type":"application/json","size":116}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createSubscription (bundle plan, place A)","time":{"start":1778597957375,"stop":1778597957376,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"903a0d9353d5d980","name":"createSubscription bundle","source":"903a0d9353d5d980.json","type":"application/json","size":333}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":6,"attachmentStep":false,"stepsCount":8,"hasContent":true},{"name":"Then members and place services show only services for subscriber place","time":{"start":1778597957377,"stop":1778597957380,"duration":3},"status":"passed","steps":[{"name":"GraphQL: bundleScope (members + place.services)","time":{"start":1778597957378,"stop":1778597957379,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"ac3f86a146151112","name":"bundleScope response","source":"ac3f86a146151112.json","type":"application/json","size":567}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: bundleScope (members + place.services)","time":{"start":1778597957379,"stop":1778597957380,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"6a651737dbcb518a","name":"bundleScope response","source":"6a651737dbcb518a.json","type":"application/json","size":319}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":2,"attachmentStep":false,"stepsCount":2,"hasContent":true},{"name":"Cleanup: _del_sub","time":{"start":1778597957380,"stop":1778597957380,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _del_plan_bundle","time":{"start":1778597957380,"stop":1778597957380,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _del_plan_b","time":{"start":1778597957380,"stop":1778597957380,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _unbind_all","time":{"start":1778597957380,"stop":1778597957381,"duration":1},"status":"broken","statusMessage":"RuntimeError: GraphQL errors: [{'message': \"Subscribe bundle mock: unsupported query snippet: 'mutation ($dto: AddPlaceToServiceInput!) {\\\\n removePlaceFromService(dto: $dto) { id }\\\\n}'\"}]\n","statusTrace":" File \"Subscribe_to_bundle\\features\\environment.py\", line 44, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Subscribe_to_bundle\\testdata\\subscribe_bundle_test_data.py\", line 213, in _unbind_all\n _exec_or_fail(op_name=\"removePlaceFromService\", token=tok, query=um, variables={\"dto\": {\"service_id\": sid, \"place_id\": pid}}, company_id=self.company_id)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Subscribe_to_bundle\\testdata\\subscribe_bundle_test_data.py\", line 28, 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 276, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {data['errors']}\")\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _del_svc","time":{"start":1778597957385,"stop":1778597957385,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _del_svc","time":{"start":1778597957385,"stop":1778597957385,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _del_svc","time":{"start":1778597957385,"stop":1778597957385,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _del_place_a_fn","time":{"start":1778597957385,"stop":1778597957385,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _del_place_b_fn","time":{"start":1778597957386,"stop":1778597957386,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778597957386,"stop":1778597957386,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[{"uid":"2b51eb23afb49770","name":"Cleanup error","source":"2b51eb23afb49770.txt","type":"text/plain","size":1193}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":9,"attachmentStep":false,"stepsCount":24,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"Subscription with service bundle and place-scoped visibility"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"d8d90551b64f0e8e","status":"passed","time":{"start":1778597372309,"stop":1778597374257,"duration":1948}},{"uid":"c5d07523f4c2eff1","status":"broken","statusDetails":"RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"services\\\" on type \\\"PlaceObject\\\". Did you mean \\\"devices\\\" or \\\"stories\\\"?\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","time":{"start":1778597274948,"stop":1778597276909,"duration":1961}},{"uid":"da404b75e80081f3","status":"passed","time":{"start":1778597263384,"stop":1778597263580,"duration":196}}],"categories":[],"tags":[]},"source":"ba3358bf6a1f06f6.json","parameterValues":[]}