From 76fe60180a4b9059d0fb110573e93bf6274be893 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sat, 23 Sep 2017 20:30:44 -0400 Subject: [PATCH] Selenium - fix bug where snapshots might be used in tests before it is setup. --- test/selenium_tests/framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/selenium_tests/framework.py b/test/selenium_tests/framework.py index f775ade1679..01532fc8fe5 100644 --- a/test/selenium_tests/framework.py +++ b/test/selenium_tests/framework.py @@ -149,8 +149,8 @@ class SeleniumTestCase(FunctionalTestCase, NavigatesGalaxy): self.target_url_from_selenium = GALAXY_TEST_EXTERNAL_FROM_SELENIUM else: self.target_url_from_selenium = self.url - self.setup_driver_and_session() self.snapshots = [] + self.setup_driver_and_session() def tearDown(self): exception = None