diff --git a/functional_tests/test_export_modal.py b/functional_tests/test_export_modal.py index 6ca3a02b0a761bbf76d83bc96199c8957b114ec7..6981507dcb64d5f8cdf09d36fbcc445a3be362d9 100644 --- a/functional_tests/test_export_modal.py +++ b/functional_tests/test_export_modal.py @@ -2,7 +2,6 @@ import json import os from pathlib import Path from selenium.webdriver.support.ui import WebDriverWait -from selenium.webdriver.common.action_chains import ActionChains from core.models import UserAccount from functional_tests.util import GradyTestCase, login, reset_browser_after_test diff --git a/functional_tests/test_feedback_label_system.py b/functional_tests/test_feedback_label_system.py index 263efae7848d19b3ebfe67693067a40afdc0b2bb..d9e27ae694a9fa690f47d780b6718a758e902d2d 100644 --- a/functional_tests/test_feedback_label_system.py +++ b/functional_tests/test_feedback_label_system.py @@ -1,7 +1,6 @@ from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as ec -from selenium.webdriver.common.keys import Keys from core.models import FeedbackLabel from functional_tests.util import (GradyTestCase, login, reset_browser_after_test, @@ -9,6 +8,7 @@ from functional_tests.util import (GradyTestCase, login, reset_browser_after_tes reconstruct_submission_code, wait_until_code_changes) from util import factory_boys as fact + class FeedbackLabelSystemTest(GradyTestCase): username = None password = None @@ -65,7 +65,8 @@ class FeedbackLabelSystemTest(GradyTestCase): ).send_keys(description) self.browser.find_elements_by_xpath( - '//div[contains(@class, "v-window-item--active")]//div[contains(@class, "v-color-picker__color")]' + '//div[contains(@class, "v-window-item--active")]' + '//div[contains(@class, "v-color-picker__color")]' )[colour_num].click() self.browser.find_element_by_id('update-label-btn').click() WebDriverWait(self.browser, 10).until(