@@ -0,0 +1,983 @@
+from django.test import Client%0Afrom django.urls import reverse%0Afrom django.contrib.sites.models import Site%0Afrom django_q.models import OrmQ%0A%0Afrom municipal_finance.tests.helpers import BaseSeleniumTestCase%0A%0A%0Aclass ScorecardTest(BaseSeleniumTestCase):%0A    fixtures = %5B%22demo-data%22, %22seeddata%22, %22cube-data%22%5D%0A%0A    def setUp(self):%0A        super(ScorecardTest, self).setUp()%0A        Site.objects.filter(id=2).update(domain='municipalmoney.org.za', name='Scorecard')%0A%0A%0A    def test_scorecard_formula(self):%0A        selenium = self.selenium%0A        selenium.get(%22%25s%25s%22 %25 (self.live_server_url, %22/profiles/municipality-BUF-buffalo-city/%22))%0A%0A        self.wait_until_text_in(%22#cash-balance%22, %22Cash Balance%22)%0A        self.wait_until_text_in(%22.indicator-detail%22, %22Cash balance at the end of the financial year.%22)%0A        self.wait_until_text_in(%22.layout-grid__col--border-right%22, %22Show calculation%22)%0A        #self.wait_until_text_in(%22.expand-block__content_inner%22, %22Cash available at year end%22)

Add scorecard test