mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
7f57ba45ac
This regressed in b6dc929. A test to ensure this doesn't regress has been added as well. This PR also fixes a flakey system spec. The conditional UI gets triggered automatically, so the system spec shouldn't explicitly call `find(".passkey-login-button").click`, because sometimes it isn't present and that causes a test failure.