Need run tests in different browsers successively (i.e. first in firefox, next same tests in chrome..). What is the best way to solve this problem?
Im trying to put loop in setUpClass, but it does not realy helped:
class UITest(LiveServerTestCase):
fixtures = ['initial_test_data.json']
@classmethod
def setUpClass(self):
for browser in [webdriver.Firefox(), webdriver.PhantomJS(), webdriver.Chrome()]:
self.selenium = browser
super(UITest, self).setUpClass()