Add birthday previews and restore checklist taps
This commit is contained in:
parent
d2c7f004ea
commit
aaa3013890
11 changed files with 146 additions and 27 deletions
|
|
@ -47,5 +47,13 @@ class StoreTests(unittest.TestCase):
|
|||
self.assertTrue(all(snapshot["checks"].values()))
|
||||
|
||||
|
||||
class StaticInteractionTests(unittest.TestCase):
|
||||
def test_native_checkboxes_cover_each_tickable_row(self):
|
||||
styles = (Path(__file__).parent.parent / "static" / "styles.css").read_text()
|
||||
self.assertIn(".today-card > input, .crop-row input, .bundle-item input", styles)
|
||||
self.assertIn("inset: 0", styles)
|
||||
self.assertNotIn(".crop-row input, .bundle-item input { position: absolute; opacity: 0; pointer-events: none; }", styles)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue