aboutsummaryrefslogtreecommitdiffstats
path: root/servo/tests
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2017-04-24 22:26:17 +0300
committerFilipp Lepalaan <filipp@mac.com>2017-04-24 22:26:17 +0300
commit85e92ff2ee4ca30e0144790a1d95b8023595bf2f (patch)
treeff38ef1fe1957e00732ab43f891b7915a7a97274 /servo/tests
parent5934831e5921b78651418a589da3c67ed320a309 (diff)
downloadServo-85e92ff2ee4ca30e0144790a1d95b8023595bf2f.tar.gz
Servo-85e92ff2ee4ca30e0144790a1d95b8023595bf2f.tar.bz2
Servo-85e92ff2ee4ca30e0144790a1d95b8023595bf2f.zip
Cleanup
Diffstat (limited to 'servo/tests')
-rw-r--r--servo/tests/test_functional.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/servo/tests/test_functional.py b/servo/tests/test_functional.py
index d9fabfb..f62a26e 100644
--- a/servo/tests/test_functional.py
+++ b/servo/tests/test_functional.py
@@ -4,6 +4,7 @@ import os
import unittest
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
+from selenium.webdriver.support.ui import Select
class NewVisitorTest(unittest.TestCase):
@@ -105,6 +106,10 @@ class NewVisitorTest(unittest.TestCase):
field = self.browser.find_element_by_id('id_condition')
field.send_keys('Like new')
+ # Employee puts order in non-default queue
+ select = Select(self.browser.find_element_by_id('id_queue'))
+ select.select_by_index(1)
+
# Submit the repair
submit_button = self.browser.find_element_by_id('id_btn_submit')
submit_button.click()