Noob_test/allure-results/5b20d4db-1216-473a-b4a6-c76c1dac794a-result.json
2026-05-15 11:34:24 +03:00

1 line
9.3 KiB
JSON

{"name": "Two places, bundle plan, subscription — user sees only services of their place", "status": "broken", "statusDetails": {"message": "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", "trace": " 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 \"Subscribe_to_bundle\\features\\steps\\subscribe_bundle_steps.py\", line 23, in step_assert_bundle_scope\n td.assert_user_sees_only_place_services_via_members_and_place()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Subscribe_to_bundle\\testdata\\subscribe_bundle_test_data.py\", line 369, in assert_user_sees_only_place_services_via_members_and_place\n resp = self.query_bundle_scope(place_id=pid)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Subscribe_to_bundle\\testdata\\subscribe_bundle_test_data.py\", line 353, in query_bundle_scope\n resp = _exec_or_fail(\n op_name=\"bundleScope(query)\",\n ...<3 lines>...\n 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 303, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1778597274950, "stop": 1778597275161}, {"name": "Then access token is valid", "status": "passed", "start": 1778597275161, "stop": 1778597275162}, {"name": "When prepare two places bundle tariff subscription and services", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (two places)", "status": "passed", "attachments": [{"name": "createPlaceMultiple (bundle)", "source": "e6ceaa9d-739e-421c-bc5b-e54666556a27-attachment.json", "type": "application/json"}], "start": 1778597275164, "stop": 1778597275225}, {"name": "GraphQL: createService x3", "status": "passed", "start": 1778597275225, "stop": 1778597275486}, {"name": "GraphQL: addPlaceToService (s1,s2 -> place A; s3 -> place B)", "status": "passed", "start": 1778597275486, "stop": 1778597275672}, {"name": "GraphQL: createPlan (bundle: two services on place A)", "status": "passed", "attachments": [{"name": "createPlan bundle", "source": "3342f2f7-5cf9-4701-a370-d6b24653c34f-attachment.json", "type": "application/json"}], "start": 1778597275672, "stop": 1778597275715}, {"name": "GraphQL: createPlan (single service on place B)", "status": "passed", "attachments": [{"name": "createPlan place B", "source": "3de49159-9ec1-4a46-a76b-4312f48f2e36-attachment.json", "type": "application/json"}], "start": 1778597275715, "stop": 1778597275767}, {"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "d79e0576-8fc6-4010-988a-4c8ba0e262d1-attachment.json", "type": "application/json"}], "start": 1778597275767, "stop": 1778597275833}, {"name": "GraphQL: addUserToPlace (subscriber -> place A only)", "status": "passed", "attachments": [{"name": "addUserToPlace bundle", "source": "6b140c43-9e47-4283-bffb-34c9ec212b0e-attachment.json", "type": "application/json"}], "start": 1778597275833, "stop": 1778597275927}, {"name": "GraphQL: createSubscription (bundle plan, place A)", "status": "passed", "attachments": [{"name": "createSubscription bundle", "source": "f4db1966-842f-450b-a120-adf24c957c83-attachment.json", "type": "application/json"}], "start": 1778597275927, "stop": 1778597276016}], "start": 1778597275162, "stop": 1778597276017}, {"name": "Then members and place services show only services for subscriber place", "status": "broken", "statusDetails": {"message": "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", "trace": " 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 \"Subscribe_to_bundle\\features\\steps\\subscribe_bundle_steps.py\", line 23, in step_assert_bundle_scope\n td.assert_user_sees_only_place_services_via_members_and_place()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Subscribe_to_bundle\\testdata\\subscribe_bundle_test_data.py\", line 369, in assert_user_sees_only_place_services_via_members_and_place\n resp = self.query_bundle_scope(place_id=pid)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Subscribe_to_bundle\\testdata\\subscribe_bundle_test_data.py\", line 353, in query_bundle_scope\n resp = _exec_or_fail(\n op_name=\"bundleScope(query)\",\n ...<3 lines>...\n 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 303, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "steps": [{"name": "GraphQL: bundleScope (members + place.services)", "status": "broken", "statusDetails": {"message": "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", "trace": " File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Subscribe_to_bundle\\testdata\\subscribe_bundle_test_data.py\", line 353, in query_bundle_scope\n resp = _exec_or_fail(\n op_name=\"bundleScope(query)\",\n ...<3 lines>...\n 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 303, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "start": 1778597276019, "stop": 1778597276064}], "start": 1778597276018, "stop": 1778597276090}, {"name": "Cleanup: _del_sub", "status": "passed", "start": 1778597276091, "stop": 1778597276154}, {"name": "Cleanup: _del_plan_bundle", "status": "passed", "start": 1778597276154, "stop": 1778597276201}, {"name": "Cleanup: _del_plan_b", "status": "passed", "start": 1778597276201, "stop": 1778597276250}, {"name": "Cleanup: _unbind_all", "status": "passed", "start": 1778597276250, "stop": 1778597276400}, {"name": "Cleanup: _del_svc", "status": "passed", "start": 1778597276401, "stop": 1778597276463}, {"name": "Cleanup: _del_svc", "status": "passed", "start": 1778597276463, "stop": 1778597276530}, {"name": "Cleanup: _del_svc", "status": "passed", "start": 1778597276530, "stop": 1778597276595}, {"name": "Cleanup: _del_place_a_fn", "status": "passed", "start": 1778597276595, "stop": 1778597276668}, {"name": "Cleanup: _del_place_b_fn", "status": "passed", "start": 1778597276668, "stop": 1778597276738}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778597276739, "stop": 1778597276906}], "start": 1778597274948, "stop": 1778597276909, "uuid": "5ec47f0f-6484-435a-9db1-3f0fae5e58c8", "historyId": "e01f7edf8ab434df7aa084bef16d4ed6", "testCaseId": "61ee593c7f7ce851c768eb5b1e227653", "fullName": "Subscription with service bundle and place-scoped visibility: Two places, bundle plan, subscription — user sees only services of their place", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Subscription with service bundle and place-scoped visibility"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Subscribe_to_bundle", "features", "Subscription with service bundle and place-scoped visibility"]}