ac5964c402
To test the restricted routing when filling up required fields, we fill up the field and then navigate to the root path and checking that we're not redirected. This is somewhat flaky, and the screenshot shows we are back at the profile page, without any prompt to fill up fields. My hypothesis is in cases where the backend is "slow" to respond, we're navigating away from the page before the request finishes (which will redirect back to the profile page.) This PR adds an expectation after saving, to wait until the unrestricted profile page is rendered, before navigating away. |
||
---|---|---|
.. | ||
hide_from_public_spec.rb | ||
staff_info_spec.rb | ||
user_notifications_spec.rb | ||
user_page_search_spec.rb | ||
user_preferences_account_spec.rb | ||
user_preferences_interface_spec.rb | ||
user_preferences_navigation_spec.rb | ||
user_preferences_profile_spec.rb | ||
user_preferences_security_spec.rb | ||
user_profile_info_panel_spec.rb |