summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorGabriel Albo <gabriel@albo.com.br>2015-02-25 15:14:40 -0300
committerGabriel Albo <gabriel@albo.com.br>2015-02-25 15:14:40 -0300
commit47c477cfa4fde2cb528c94443e32609e6a71d5ad (patch)
treebc81f66d1b7942e86c5b20cf554ef30ccae5b6f8 /service
parente18b3539f8f08325fff32f9f9f39cdf4296d38d4 (diff)
#296 Fixing functional tests so it clicks the right element
Diffstat (limited to 'service')
-rw-r--r--service/test/functional/features/steps/tag_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/tag_list.py b/service/test/functional/features/steps/tag_list.py
index 62b2571f..64749c8e 100644
--- a/service/test/functional/features/steps/tag_list.py
+++ b/service/test/functional/features/steps/tag_list.py
@@ -24,7 +24,7 @@ def click_first_element_with_class(context, classname):
@when('I select the tag \'{tag}\'')
def impl(context, tag):
wait_for_user_alert_to_disapear(context)
- click_first_element_with_class(context, 'fake-left-off-canvas-toggle')
+ click_first_element_with_class(context, 'side-nav-toggle')
context.browser.execute_script("window.scrollBy(0, -200)")
e = find_element_by_id(context, 'tag-%s' % tag.lower())
e.click()