Skip to content

Commit

Permalink
Flaky selenium test.
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuramachandran committed Mar 16, 2017
1 parent 281714b commit a3a0db5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vixen/integration_tests/test_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def test_edit_view_project(self):
# Create a new project.
e = wait.until(EC.presence_of_element_located((By.ID, 'new-project')))
e.click()
time.sleep(0.5)
# Set the name.
e = wait.until(EC.presence_of_element_located((By.ID, 'edit-name')))
e.clear()
Expand All @@ -75,7 +76,8 @@ def test_edit_view_project(self):
e.send_keys(data_path)

# Setup the tags.
browser.find_element_by_id('remove-tag-0').click()
e = wait.until(EC.presence_of_element_located((By.ID, 'remove-tag-0')))
e.click()
e = wait.until(EC.presence_of_element_located((By.ID, 'new-tag')))
e.send_keys('comments, count, processed')
browser.find_element_by_id('add-tag').click()
Expand Down

0 comments on commit a3a0db5

Please sign in to comment.