old_contents: from django.contrib.staticfiles.testing import StaticLiveServerTestCase
  from selenium import webdriver
  
  
  class FunctionalTest(StaticLiveServerTestCase):
      def setUp(self):
          self.browser = webdriver.PhantomJS()
          # Wait up tp 5 seconds for an element to appear
          self.browser.implicitly_wait(5)
  
      def tearDown(self):
          self.browser.quit()
  
new_contents: from django.contrib.staticfiles.testing import StaticLiveServerTestCase
  from selenium import webdriver
  
  
  class FunctionalTest(StaticLiveServerTestCase):
      def setUp(self):
          self.browser = webdriver.PhantomJS()
          # Wait up tp 10 seconds for an element to appear
          self.browser.implicitly_wait(10)
  
      def tearDown(self):
          self.browser.quit()
  
subject: Increase implicitly wait limit to 10 seconds