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()

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()

Increase implicitly wait limit to 10 seconds
Increase implicitly wait limit to 10 seconds

This is due to loading external scripts e.g. sharethis which take a
longer to load
