Compare commits

..

No commits in common. "18a184bd5cc31f7b77c06f0dba98ae1b673a749e" and "0763f3a53109c30c3a9d2c2b1da3ae9b4ba9fc30" have entirely different histories.

2 changed files with 8 additions and 6 deletions

View file

@ -207,10 +207,12 @@ class TestBlockedReasonPropagation:
assert result["success"] is False
# FIXED (KIN-ARCH-014): result['error'] now contains output context, not just generic msg
assert "Department backend_head sub-pipeline failed" in result["error"], (
f"Expected 'Department backend_head sub-pipeline failed' prefix in error, "
f"got: {result.get('error')!r}"
# BUG VERIFIED: result['error'] is the generic message, not the worker error
expected_generic = "Department backend_head sub-pipeline failed"
assert result["error"] == expected_generic, (
f"Expected generic error '{expected_generic}', "
f"got '{result.get('error')}'. "
"If this fails, Issue 1 has been fixed — update this test!"
)

View file

@ -113,8 +113,8 @@ async function mountAndOpenAddTaskModal() {
})
await flushPromises()
// Открываем модал добавления задачи (на Tasks-вкладке кнопка называется "+ Task")
const tasBtn = wrapper.findAll('button').find(b => b.text() === '+ Task')!
// Открываем модал добавления задачи
const tasBtn = wrapper.findAll('button').find(b => b.text() === '+ Тас')!
await tasBtn.trigger('click')
await flushPromises()