summaryrefslogtreecommitdiff
path: root/service/test/functional
diff options
context:
space:
mode:
authorrafael lisboa <rafaelzlisboa@gmail.com>2015-04-14 15:00:53 -0300
committerrafael lisboa <rafaelzlisboa@gmail.com>2015-04-14 15:28:13 -0300
commit2b595c8f3b4c5dc900609943eb754bb246d6d73b (patch)
tree55eb4e5fd3e104acd88e6c6aed62ed4fac42ebf5 /service/test/functional
parent57770a2b6a0777656c86c7d464b5e413f904ac0e (diff)
fix typo on side_nav_expanded
Diffstat (limited to 'service/test/functional')
-rw-r--r--service/test/functional/features/forward_trash_archive.feature2
-rw-r--r--service/test/functional/features/steps/tag_list.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/service/test/functional/features/forward_trash_archive.feature b/service/test/functional/features/forward_trash_archive.feature
index 6e959c32..1d373b88 100644
--- a/service/test/functional/features/forward_trash_archive.feature
+++ b/service/test/functional/features/forward_trash_archive.feature
@@ -31,4 +31,4 @@ Feature: forward and deletion
When I choose to trash
# Then I see that mail under the 'trash' tag
When I select the tag 'trash'
- And I open the first mail in the mail list \ No newline at end of file
+ And I open the first mail in the mail list
diff --git a/service/test/functional/features/steps/tag_list.py b/service/test/functional/features/steps/tag_list.py
index b3e09c22..443c5173 100644
--- a/service/test/functional/features/steps/tag_list.py
+++ b/service/test/functional/features/steps/tag_list.py
@@ -21,13 +21,13 @@ def click_first_element_with_class(context, classname):
elements[0].click()
-def is_side_nax_expanded(context):
+def is_side_nav_expanded(context):
e = context.browser.find_elements_by_class_name('content')[0].get_attribute('class').count(u'move-right') == 1
return e
def expand_side_nav(context):
- if is_side_nax_expanded(context):
+ if is_side_nav_expanded(context):
return
toggle = context.browser.find_elements_by_class_name('side-nav-toggle')[0]