diff --git a/src/apps/epic/tests/integrated/test_views.py b/src/apps/epic/tests/integrated/test_views.py index 9f6212c..3680f38 100644 --- a/src/apps/epic/tests/integrated/test_views.py +++ b/src/apps/epic/tests/integrated/test_views.py @@ -1792,6 +1792,19 @@ class PickSkyRenderingTest(TestCase): self.assertContains(response, 'id="id_pick_sky_btn"') self.assertContains(response, 'style="display:none"') + def test_no_sky_delete_btn_in_blank_sky_select_modal(self): + """A fresh PICK SKY modal (no preview wheel rendered yet) must not + carry the DEL btn — it would otherwise float in the empty wheel area + suggesting there's something to delete when the user has only seen + the form. The JS schedulePreview success handler is the contract that + injects the btn after the wheel paints — so the rendered HTML should + carry no