Skip to content
Snippets Groups Projects
Commit c7263f41 authored by Thilo Wischmeyer's avatar Thilo Wischmeyer Committed by Thilo Wischmeyer
Browse files

Fixed flake8 warnings

parent 34e77ca6
No related branches found
No related tags found
1 merge request!247Resolve "Update Vuetify"
Pipeline #181246 failed
......@@ -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
......
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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment