Fix for flaky test admin_settings
What does this MR do and why?
Solves #408224 (closed)
page.refresh
fails when JavaScript is disabled because Capybara's Rack::Test fails to navigate to about:blank
. See https://github.com/teamcapybara/capybara/issues/2712.
Because these two tests exercise a piece of JavaScript, initDeactivateDormantUsersPeriodInputSection
, it is better to enable JS to test in a end-to-end fashion.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Eduardo Sanz García