diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-26 18:33:10 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-03-09 15:36:10 +0100 |
commit | 9cbf33071f895a3ca1c9dad398d964e189e4a766 (patch) | |
tree | 1a79ffffbac062388d6b623fffb95d77b0028efe /service | |
parent | 7b5d5ef57289c00b0314522b2c2981e4fc7a0f6c (diff) |
Issue #617: Add sandbox to user-agent
Diffstat (limited to 'service')
-rw-r--r-- | service/test/functional/features/steps/mail_view.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/mail_view.py b/service/test/functional/features/steps/mail_view.py index 82fc28af..c0e9e22b 100644 --- a/service/test/functional/features/steps/mail_view.py +++ b/service/test/functional/features/steps/mail_view.py @@ -25,8 +25,11 @@ def impl(context, subject): @then('I see that the body reads \'{expected_body}\'') def impl(context, expected_body): - e = find_element_by_css_selector(context, '#mail-view .bodyArea') + find_element_by_css_selector(context, '#read-sandbox') + context.browser.switch_to_frame('read-sandbox') + e = find_element_by_css_selector(context, 'body') assert e.text == expected_body + context.browser.switch_to_default_content() @then('that email has the \'{tag}\' tag') |