Hide page only during tests

This commit is contained in:
cryptogopher 2025-01-02 19:04:14 +01:00
parent ef825728ac
commit afc4f5cee0

View File

@ -5,9 +5,8 @@
link during this period, request will be sent outside of Turbo, resulting in
e.g. stream request sent as HTML instead of TURBO_STREAM.
Content is shown on 'turbo:load' event.
TODO: hide only in TEST environment?
-->
<html style="visibility: hidden;">
<html<%= ' style="visibility: hidden;"' if Rails.env.test? -%>>
<head>
<title>fixin.me</title>
<meta name="viewport" content="width=device-width,initial-scale=1">