summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/mail_view.py
diff options
context:
space:
mode:
authorDenis Costa <deniscostadsc@gmail.com>2016-11-25 13:55:02 -0200
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-11-29 16:45:06 -0200
commit4fd50e650bbfa474f77daf63a44e08b6cb039679 (patch)
tree2af4b1f064863f33d3027295251c0c59ece350d9 /service/test/functional/features/steps/mail_view.py
parenta55252190f83a678e3b74c841e24512e78041b5a (diff)
Improves imports
See: https://github.com/pixelated/project-issues/issues/380
Diffstat (limited to 'service/test/functional/features/steps/mail_view.py')
-rw-r--r--service/test/functional/features/steps/mail_view.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/mail_view.py b/service/test/functional/features/steps/mail_view.py
index 2db6dfc5..88ee5c5a 100644
--- a/service/test/functional/features/steps/mail_view.py
+++ b/service/test/functional/features/steps/mail_view.py
@@ -13,8 +13,18 @@
#
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
+from behave import then, when
from selenium.webdriver.common.keys import Keys
-from common import *
+from selenium.webdriver.common.by import By
+
+from common import (
+ click_button,
+ find_element_by_css_selector,
+ find_elements_by_css_selector,
+ reply_subject,
+ wait_until_button_is_visible,
+ wait_until_element_is_visible_by_locator)
@then('I see that the subject reads \'{subject}\'')