repos
/ timestrap-django master

timestrap-django

mirror archived upstream

Time tracking you can host anywhere, built on Django. Full export support in multiple formats and easily extensible.

djangodockerhandcodedpythonself-hostedtime-trackingtimetracker

479 B · 20 lines · Python Raw History
 1from core.models import Entry
 2
 3from . import SeleniumTestCase
 4
 5
 6class ReportsTestCase(SeleniumTestCase):
 7    def test_reports_navigation(self):
 8        nav_reports = self.find("nav-reports")
 9        nav_reports.click()
10
11        self.find("view-reports")
12
13    def test_reports_visible(self):
14        self.test_reports_navigation()
15
16        entries = Entry.objects.all()
17        for entry in entries:
18            entry_id = "entry-%s" % (entry.id,)
19            self.find(entry_id)