Compare commits
3 commits
0763f3a531
...
18a184bd5c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18a184bd5c | ||
|
|
86202d24e8 | ||
|
|
83f960ad67 |
2 changed files with 6 additions and 8 deletions
|
|
@ -207,12 +207,10 @@ class TestBlockedReasonPropagation:
|
|||
|
||||
assert result["success"] is False
|
||||
|
||||
# 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!"
|
||||
# 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}"
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -113,8 +113,8 @@ async function mountAndOpenAddTaskModal() {
|
|||
})
|
||||
await flushPromises()
|
||||
|
||||
// Открываем модал добавления задачи
|
||||
const tasBtn = wrapper.findAll('button').find(b => b.text() === '+ Тас')!
|
||||
// Открываем модал добавления задачи (на Tasks-вкладке кнопка называется "+ Task")
|
||||
const tasBtn = wrapper.findAll('button').find(b => b.text() === '+ Task')!
|
||||
await tasBtn.trigger('click')
|
||||
await flushPromises()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue