Skip to content

Commit 4c9e834

Browse files
committed
[fix] Fixed tests
1 parent b9f6f1b commit 4c9e834

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

openwisp_controller/config/tests/test_selenium.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,11 @@ def test_relevant_templates_duplicates(self):
446446
+ "#config-group"
447447
)
448448
self.hide_loading_overlay()
449+
with self.subTest(
450+
"Regression precondition: empty Config inline is not rendered"
451+
):
452+
self.assertFalse(self.web_driver.find_elements(By.ID, "config-empty"))
453+
449454
with self.subTest("All shared templates should be visible"):
450455
self._verify_templates_visibility(visible=[template1, template2])
451456

0 commit comments

Comments
 (0)