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
|
assert result["success"] is False
|
||||||
|
|
||||||
# BUG VERIFIED: result['error'] is the generic message, not the worker error
|
# FIXED (KIN-ARCH-014): result['error'] now contains output context, not just generic msg
|
||||||
expected_generic = "Department backend_head sub-pipeline failed"
|
assert "Department backend_head sub-pipeline failed" in result["error"], (
|
||||||
assert result["error"] == expected_generic, (
|
f"Expected 'Department backend_head sub-pipeline failed' prefix in error, "
|
||||||
f"Expected generic error '{expected_generic}', "
|
f"got: {result.get('error')!r}"
|
||||||
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() === '+ Тас')!
|
const tasBtn = wrapper.findAll('button').find(b => b.text() === '+ Task')!
|
||||||
await tasBtn.trigger('click')
|
await tasBtn.trigger('click')
|
||||||
await flushPromises()
|
await flushPromises()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue