ui: заменить оставшиеся боковые панели на центрированные popup.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -152,6 +152,18 @@ class ItManagerEquipmentTests(TestCase):
|
||||
self.assertContains(r, 'role="dialog"')
|
||||
self.assertNotContains(r, 'id="it-equipment-panel-overlay"')
|
||||
|
||||
def test_remaining_it_forms_are_popups(self):
|
||||
r = self.client.get('/it-manager/')
|
||||
for panel_id in (
|
||||
'it-consumable-panel',
|
||||
'it-provider-panel',
|
||||
'it-contract-panel',
|
||||
'it-servicecall-panel',
|
||||
):
|
||||
self.assertContains(r, f'id="{panel_id}"')
|
||||
self.assertNotContains(r, f'id="{panel_id}-overlay"')
|
||||
self.assertNotContains(r, 'translateX(100%)')
|
||||
|
||||
def test_models_catalog_is_popup(self):
|
||||
r = self.client.get('/it-manager/')
|
||||
self.assertContains(r, 'id="it-equipment-models-panel"')
|
||||
|
||||
Reference in New Issue
Block a user