Files
grecia/spec/system
Javi Martín e2d9d0f2b4 Fix default dashboard actions factories
We had a trait called `:admin_request` for actions that are requests to
administrators, but the default factories were also requests to
administrators.

The tests checking that the "Request" button is not present, which
shouldn't pass with the wrong default factories, were passing by
coincidence. The issue was that we weren't checking whether that the
request had finished before checking that the "Request" button wasn't
present. That meant that we were checking that the "Request" button
wasn't there right at the moment we pressed the link, before the request
was finished.

So we're now checking that the request is finished before checking that
the button isn't there.

On the other hand, the tests checking for the "Request resource" link
being present were checking a behavior that's no longer there since
commit 9d85b3935, when we changed the conditions affecting that link.
2024-10-11 15:05:24 +02:00
..
2024-04-23 23:56:17 +02:00
2024-03-25 07:59:42 +01:00
2022-01-03 13:33:37 +01:00
2024-06-17 16:48:37 +02:00
2024-06-17 16:48:37 +02:00
2023-08-30 14:46:35 +02:00
2024-04-15 15:39:23 +02:00
2024-03-25 07:59:42 +01:00
2023-06-12 14:30:00 +02:00
2024-05-09 14:28:32 +02:00
2023-10-24 19:00:43 +02:00