Compare commits
No commits in common. "18a184bd5cc31f7b77c06f0dba98ae1b673a749e" and "0763f3a53109c30c3a9d2c2b1da3ae9b4ba9fc30" have entirely different histories.
18a184bd5c
...
0763f3a531
2 changed files with 8 additions and 6 deletions
|
|
@ -207,10 +207,12 @@ class TestBlockedReasonPropagation:
|
||||||
|
|
||||||
assert result["success"] is False
|
assert result["success"] is False
|
||||||
|
|
||||||
# FIXED (KIN-ARCH-014): result['error'] now contains output context, not just generic msg
|
# BUG VERIFIED: result['error'] is the generic message, not the worker error
|
||||||
assert "Department backend_head sub-pipeline failed" in result["error"], (
|
expected_generic = "Department backend_head sub-pipeline failed"
|
||||||
f"Expected 'Department backend_head sub-pipeline failed' prefix in error, "
|
assert result["error"] == expected_generic, (
|
||||||
f"got: {result.get('error')!r}"
|
f"Expected generic error '{expected_generic}', "
|
||||||
|
f"got '{result.get('error')}'. "
|
||||||
|
"If this fails, Issue 1 has been fixed — update this test!"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -113,8 +113,8 @@ async function mountAndOpenAddTaskModal() {
|
||||||
})
|
})
|
||||||
await flushPromises()
|
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 tasBtn.trigger('click')
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue