Files
nairobi/spec/system
Javi Martín a20f32401f Add an expectation after signing out in officing spec
In this test, we were signing out after confirming a vote, but we
weren't waiting for the request to finish before using the `login_as`
method. Sometimes this test failed with a screenshot showing that the
user wasn't signed in after the `login_as` call, so this might have been
the cause.

We could use the `logout` method instead, but since we don't have any
other tests that click the "Sign out" link from the officing area, we're
leaving it as it was; we might change it to `logout` in the future if
the test keeps failing once in a while.

Note we're also replacing a `visit` call which my guess is was there
because the "Sign out" link wasn't visible due to the notice covering
it. So we're closing the notice instead.
2024-06-17 16:46:36 +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
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