Skip to content

Fix for flaky test admin_settings

Smriti Garg requested to merge smriti-408224/flaky_spec_admin_settings into master

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.

Edited by Eduardo Sanz García

Merge request reports

Loading