Browse Source

test(acceptance): Fix "org dash no issues" no waiting for chart (#8507)

Billy Vong 6 years ago
parent
commit
322516773a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/acceptance/test_dashboard.py

+ 2 - 0
tests/acceptance/test_dashboard.py

@@ -57,9 +57,11 @@ class DashboardTest(AcceptanceTestCase):
         self.path = '/{}/'.format(self.org.slug)
 
     def test_no_issues(self):
+        # I think no "activity" would be more accurate?
         self.project.update(first_event=None)
         self.browser.get(self.path)
         self.browser.wait_until_not('.loading-indicator')
+        self.browser.wait_until('[data-test-id] figure')
         self.browser.snapshot('org dash no issues')
 
     def test_one_issue(self):