1 line
6.0 KiB
JSON
1 line
6.0 KiB
JSON
{"name": "Two places, bundle plan, subscription — user sees only services of their place", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1778597263386, "stop": 1778597263558}, {"name": "Then access token is valid", "status": "passed", "start": 1778597263558, "stop": 1778597263559}, {"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": "f6f1cd14-1d9e-4039-86ef-a183634b7e66-attachment.json", "type": "application/json"}], "start": 1778597263565, "stop": 1778597263566}, {"name": "GraphQL: createService x3", "status": "passed", "start": 1778597263566, "stop": 1778597263566}, {"name": "GraphQL: addPlaceToService (s1,s2 -> place A; s3 -> place B)", "status": "passed", "start": 1778597263566, "stop": 1778597263566}, {"name": "GraphQL: createPlan (bundle: two services on place A)", "status": "passed", "attachments": [{"name": "createPlan bundle", "source": "89456bef-f10a-4bd6-8e0d-e837b3092135-attachment.json", "type": "application/json"}], "start": 1778597263566, "stop": 1778597263567}, {"name": "GraphQL: createPlan (single service on place B)", "status": "passed", "attachments": [{"name": "createPlan place B", "source": "97f77222-a7cc-4998-a23f-de442c28c7d6-attachment.json", "type": "application/json"}], "start": 1778597263567, "stop": 1778597263567}, {"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "936c0aa4-fd6c-4022-9786-312265c44cd4-attachment.json", "type": "application/json"}], "start": 1778597263567, "stop": 1778597263568}, {"name": "GraphQL: addUserToPlace (subscriber -> place A only)", "status": "passed", "attachments": [{"name": "addUserToPlace bundle", "source": "cd4b93e0-26fc-4121-b6a7-e74c8cfe11fa-attachment.json", "type": "application/json"}], "start": 1778597263568, "stop": 1778597263569}, {"name": "GraphQL: createSubscription (bundle plan, place A)", "status": "passed", "attachments": [{"name": "createSubscription bundle", "source": "d4de1dc0-2b44-47fa-be89-18b364d7a33a-attachment.json", "type": "application/json"}], "start": 1778597263569, "stop": 1778597263569}], "start": 1778597263559, "stop": 1778597263571}, {"name": "Then members and place services show only services for subscriber place", "status": "passed", "steps": [{"name": "GraphQL: bundleScope (members + place.services)", "status": "passed", "attachments": [{"name": "bundleScope response", "source": "c512d1e8-508b-40a4-a8f4-c7cb4b5553aa-attachment.json", "type": "application/json"}], "start": 1778597263573, "stop": 1778597263574}, {"name": "GraphQL: bundleScope (members + place.services)", "status": "passed", "attachments": [{"name": "bundleScope response", "source": "5c948ad0-d4a3-44d5-baa8-beedce780326-attachment.json", "type": "application/json"}], "start": 1778597263574, "stop": 1778597263575}], "start": 1778597263571, "stop": 1778597263575}, {"name": "Cleanup: _del_sub", "status": "passed", "start": 1778597263575, "stop": 1778597263575}, {"name": "Cleanup: _del_plan_bundle", "status": "passed", "start": 1778597263575, "stop": 1778597263575}, {"name": "Cleanup: _del_plan_b", "status": "passed", "start": 1778597263575, "stop": 1778597263575}, {"name": "Cleanup: _unbind_all", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': \"Subscribe bundle mock: unsupported query snippet: 'mutation ($dto: AddPlaceToServiceInput!) {\\\\n removePlaceFromService(dto: $dto) { id }\\\\n}'\"}]\n", "trace": " 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 200, 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"}, "start": 1778597263575, "stop": 1778597263575}, {"name": "Cleanup: _del_svc", "status": "passed", "start": 1778597263580, "stop": 1778597263580}, {"name": "Cleanup: _del_svc", "status": "passed", "start": 1778597263580, "stop": 1778597263580}, {"name": "Cleanup: _del_svc", "status": "passed", "start": 1778597263580, "stop": 1778597263580}, {"name": "Cleanup: _del_place_a_fn", "status": "passed", "start": 1778597263580, "stop": 1778597263580}, {"name": "Cleanup: _del_place_b_fn", "status": "passed", "start": 1778597263580, "stop": 1778597263580}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778597263580, "stop": 1778597263580}], "attachments": [{"name": "Cleanup error", "source": "c73f8f6c-0c68-47c4-a77a-3500ba674bb8-attachment.txt", "type": "text/plain"}], "start": 1778597263384, "stop": 1778597263580, "uuid": "a2481d51-aca2-4715-97df-2000bf9210af", "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"]} |