Skip to content

Commit

Permalink
tests(disclosures): Tweaks the DisclosureReactLoadTest class
Browse files Browse the repository at this point in the history
This commit updates the tearDown method of the DisclosureReactLoadTest class to capture a screenshot at the end of each test run. This will help in visual regression testing and debugging.
  • Loading branch information
ERosendo committed Jan 23, 2025
1 parent 8133a33 commit 9f5d713
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cl/disclosures/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ def setUp(self) -> None:
def tearDown(self) -> None:
FinancialDisclosure.objects.all().delete()
Person.objects.all().delete()
super().tearDown()

@timeout_decorator.timeout(SELENIUM_TIMEOUT)
def test_disclosure_homepage(self) -> None:
Expand Down

0 comments on commit 9f5d713

Please sign in to comment.