fix ITs: update SigSelectRenderingTest for sig-info-* rename + energies/operations data attrs — TDD
Code architected by Disco DeDisco <discodedisco@outlook.com> Git commit message Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1116,18 +1116,19 @@ class SigSelectRenderingTest(TestCase):
|
||||
self.assertContains(response, "stat-face--upright")
|
||||
self.assertContains(response, "stat-face--reversed")
|
||||
|
||||
def test_sig_cards_render_cautions_data_attribute(self):
|
||||
def test_sig_cards_render_energies_operations_data_attributes(self):
|
||||
response = self.client.get(self.url)
|
||||
self.assertContains(response, "data-cautions=")
|
||||
self.assertContains(response, "data-energies=")
|
||||
self.assertContains(response, "data-operations=")
|
||||
|
||||
def test_sig_caution_tooltip_structure_rendered(self):
|
||||
def test_sig_info_panel_structure_rendered(self):
|
||||
response = self.client.get(self.url)
|
||||
self.assertContains(response, "sig-caution-tooltip")
|
||||
self.assertContains(response, "sig-caution-btn")
|
||||
self.assertContains(response, "sig-caution-effect")
|
||||
self.assertContains(response, "sig-caution-index")
|
||||
self.assertContains(response, "sig-caution-prev")
|
||||
self.assertContains(response, "sig-caution-next")
|
||||
self.assertContains(response, "sig-info")
|
||||
self.assertContains(response, "sig-info-btn")
|
||||
self.assertContains(response, "sig-info-effect")
|
||||
self.assertContains(response, "sig-info-index")
|
||||
self.assertContains(response, "sig-info-prev")
|
||||
self.assertContains(response, "sig-info-next")
|
||||
|
||||
|
||||
class SelectSigCardViewTest(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user