summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/search.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/search.py
parenta55252190f83a678e3b74c841e24512e78041b5a (diff)
Improves imports
See: https://github.com/pixelated/project-issues/issues/380
Diffstat (limited to 'service/test/functional/features/steps/search.py')
-rw-r--r--service/test/functional/features/steps/search.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/service/test/functional/features/steps/search.py b/service/test/functional/features/steps/search.py
index 879e834d..5a6d2d1c 100644
--- a/service/test/functional/features/steps/search.py
+++ b/service/test/functional/features/steps/search.py
@@ -13,10 +13,12 @@
#
# 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 selenium.webdriver import ActionChains
+from behave import when, then
+from selenium.webdriver import ActionChains
from selenium.webdriver.common.keys import Keys
-from common import *
+
+from common import find_element_by_css_selector, find_elements_by_css_selector
@when('I search for a mail with the words "{search_term}"')