test_documents_after_rejection
automation/tests/docsvc/document_review/test_document_review.py::TestDocumentReview::test_documents_after_rejection
API test in suite
DocumentReview ·
first seen 2026-08-12 11:31:40 UTC · last seen 2026-11-17 00:21:42 UTC
· ← all runs
failing
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8844 [Test failure] Document action list now includes Document_Enhance; test expects exact old list (6 tests) | Completed · [email protected] | ENG-8844 is Completed; no run has started since | 2026-11-15 01:43:09 UTC by triage-agent (agent) · for api-tests-master The test is wrong |
api-tests-master — its newest 12 runs, oldest first
What changed when it broke on api-tests-master
reading the deploy trail and the test repo…
api-tests-production — its newest 8 runs, oldest first
Each distinct failure it has had (5)
f2fda77c4469
in 0 runs · first
api-tests-production jenkins-601
(2026-11-02 19:30:29 UTC) · last
api-tests-master jenkins-599
(2026-11-17 00:21:42 UTC)
why AssertionError: assert 13 == 12
+ where 13 = len(['Document_Download', 'Document_Copy', 'Document_Review', 'Document_eSign', 'Document_Share', 'Document_Comment', ...])
+ and 12 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Categorize', 'Document_Comment', 'Document_Copy', ...])
traceback
automation/tests/docsvc/document_review/test_document_review.py:313: in test_documents_after_rejection
assert len(response1["actionList"]) == len(expected_actions)
E AssertionError: assert 13 == 12
E + where 13 = len(['Document_Download', 'Document_Copy', 'Document_Review', 'Document_eSign', 'Document_Share', 'Document_Comment', ...])
E + and 12 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Categorize', 'Document_Comment', 'Document_Copy', ...])
b1e04d85cb2a
in 0 runs · first
api-tests-production jenkins-600
(2026-11-02 10:31:32 UTC) · last
api-tests-production jenkins-600
(2026-11-02 10:31:32 UTC)
why failed on setup with "KeyError: 'tildaid'"
traceback
automation/tests/fixtures/study_fixtures.py:499: in v2_protocol
result = setup.create_protocol_from_file("protocol_config.json", auto_publish=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/tests/setup/protocol_setup.py:60: in create_protocol_from_file
result = self.creator.create_protocol_from_config(config_path, customize=customizations)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/models/protocol_creator.py:49: in create_protocol_from_config
self._create_protocol(config["protocol"])
automation/models/protocol_creator.py:121: in _create_protocol
self.protocol_id = protocol_data["tildaid"]
^^^^^^^^^^^^^^^^^^^^^^^^
E KeyError: 'tildaid'
b360062659e0
in 0 runs · first
api-tests-production jenkins-599
(2026-11-01 19:23:47 UTC) · last
api-tests-production jenkins-599
(2026-11-01 19:23:47 UTC)
why failed on setup with "RuntimeError: add_site_to_study: study 10fb26c2-b28d-4575-990d-2e58d37f0c62 did not accept afac8a6f-e288-499c-a753-bc9a9b993a79: you do not have access to this resource"
traceback
automation/tests/fixtures/common.py:161: in shared_env
Study(cro_test_headers).add_site_to_study(
automation/models/study.py:63: in add_site_to_study
raise RuntimeError(
E RuntimeError: add_site_to_study: study 10fb26c2-b28d-4575-990d-2e58d37f0c62 did not accept afac8a6f-e288-499c-a753-bc9a9b993a79: you do not have access to this resource
2b69190e293e
in 0 runs · first
api-tests-master jenkins-578
(2026-10-30 00:24:41 UTC) · last
api-tests-master jenkins-578
(2026-10-30 00:24:41 UTC)
why failed on setup with "requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.automation.tilda.pizza/api/trialexec/study/86b92aef-19c6-4b6c-8137-4a5580680ff2/site/d949cc06-931c-4a00-a21b-b18ea39cefbe/studyprotocol"
traceback
automation/tests/fixtures/study_fixtures.py:528: in v2_protocol
study_protocol = StudySite(study_id, test_headers).get_study_procotol(site_id1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/models/study_site.py:16: in get_study_procotol
response.raise_for_status()
.venv/lib/python3.12/site-packages/requests/models.py:1028: in raise_for_status
raise HTTPError(http_error_msg, response=self)
E requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.automation.tilda.pizza/api/trialexec/study/86b92aef-19c6-4b6c-8137-4a5580680ff2/site/d949cc06-931c-4a00-a21b-b18ea39cefbe/studyprotocol
e050857be931
in 0 runs · first
api-tests-production jenkins-527
(2026-08-25 21:09:35 UTC) · last
api-tests-master jenkins-577
(2026-10-29 00:22:03 UTC)
why failed on setup with "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)"
traceback
.venv/lib/python3.12/site-packages/requests/models.py:978: in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/__init__.py:346: in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/decoder.py:338: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/decoder.py:356: in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
automation/tests/fixtures/common.py:143: in shared_env
StudyActor(study["tildaid"], cro_test_headers).wait_till_default_actor_added()
automation/models/study_actor.py:171: in wait_till_default_actor_added
all_actors = response.json()
^^^^^^^^^^^^^^^
.venv/lib/python3.12/site-packages/requests/models.py:982: in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
E requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)