diff options
author | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-03-29 18:49:16 -0300 |
---|---|---|
committer | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-03-30 17:55:24 -0300 |
commit | ed6c3c449b7a947901b45bdb0d0dc017560e7f78 (patch) | |
tree | 32d4f54344f92163202661af00061d2138b91994 /service/test/functional/features/environment.py | |
parent | 715419e88dcbc4d5f0b8286d917b26b8d425d85b (diff) |
[#927] Change account recovery tests to run against a non mocked application
with @thaissiqueira
Diffstat (limited to 'service/test/functional/features/environment.py')
-rw-r--r-- | service/test/functional/features/environment.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/service/test/functional/features/environment.py b/service/test/functional/features/environment.py index 9f8507b2..eefa22b7 100644 --- a/service/test/functional/features/environment.py +++ b/service/test/functional/features/environment.py @@ -29,6 +29,7 @@ from pixelated.config.site import PixelatedSite from pixelated.resources.features_resource import FeaturesResource from test.support.integration import AppTestClient from steps.common import DEFAULT_IMPLICIT_WAIT_TIMEOUT_IN_S +from steps import utils class UnsuportedWebDriverError(Exception): @@ -64,6 +65,11 @@ def before_all(context): context.username = 'username' +def before_tag(context, tag): + if tag == "smoke": + utils.create_user(context) + + def _setup_webdriver(context): browser = context.config.userdata.get('webdriver', 'chrome') supported_webdrivers = { |