Commit 3219a16
committed
fix(security/scout): remove cleanStandardList to preserve llmProxy connector
cleanStandardList() deletes saved objects of type 'action', which
includes the .gen-ai connector created by the worker-scoped llmProxy
fixture. Calling it in beforeEach destroyed the connector before the
test ran, making the bulk 'Add to chat' action invisible and causing
every subsequent step to fail.
The connector lifecycle is owned by llmProxy; this test only needs
targeted deleteAll() calls for the objects it creates.
Refs #174961 parent f935559 commit 3219a16
1 file changed
Lines changed: 5 additions & 4 deletions
File tree
- x-pack/solutions/security/plugins/security_solution/test/scout/ui/parallel_tests/investigations
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments