From 68339a3a0ddfddd039498c9c2eb610bec503bc36 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sat, 18 Sep 2021 23:44:02 -0700 Subject: [PATCH] Capybara test requires visible checkbox --- app/assets/stylesheets/game.css.sass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/game.css.sass b/app/assets/stylesheets/game.css.sass index 3e5234c..e0f8b14 100644 --- a/app/assets/stylesheets/game.css.sass +++ b/app/assets/stylesheets/game.css.sass @@ -145,7 +145,9 @@ ol#cards-to-beat margin-left: -4vmin flex: 1 1 auto input[type="checkbox"] - visibility: hidden + // Capybara test requires visible checkbox + // visibility: hidden + opacity: .000001 position: absolute &:checked ~ img box-shadow: 0px 0px 2px 6px #00dd84